User Profile
Collapse
-
with wxWidgets it should run everywhere -
I dont know about JS, but maybe here
http://bytes.com/topic/javascript/ they can help you.Leave a comment:
-
You can't open the same file twice :l, maybe do a copy in plain text, to access them independently by each thread?Leave a comment:
-
It isnt clear what you need help to. I supose you want the two threads to execute at the exactly SAME time? i think that's handled by the OS itself.Leave a comment:
-
JavierL replied to how to search string from a text file also after searching searching it should changein CSave the value in a array of chars, then add it to a string with the modification you want.Leave a comment:
-
You should use something like this (c++)
...Code:#include <fstream> #include <iostream> #include <vector> #include <string> using namespace std; int main(){ ifstream ifs; ifs.open("filewhatever.txt"); string dat; vector<string> vecstring; while(getline(ifs, dat)) vecstring.push_back(dat);Leave a comment:
-
-
-
Post the test code you're using.
Maybe you have some path lib issue, you should check that.Leave a comment:
-
Declare the vars outside the scoop of the constructor.
Something like this
...Code:public class NPCObject { int objStrength; // Vars declared outside the scope of the constructor int objDefense; // Otherwise they die after its execution boolean objAttackable; int xLoc; int yLoc; BufferedImage objIcon; public void NPCObject(int strength, int defense,Leave a comment:
-
Use this, a while loop, and inside a ofstream object combined with cin, that should do the job.Leave a comment:
-
You need to open another connection, because you are sending in one way, one socket is waiting for input (and receiving), the other is sending.Leave a comment:
-
Yes! I knew it was something dull that I was missing, thank you, very much.Leave a comment:
-
It will print gargbage if you havent initialized it, you can also put some character that you want in the non used chars and with an if print everything skipping those chars.Leave a comment:
-
Friend functions error
Im doing an excercise, where i need to use a friend class and a friend function from another class to access a private member of a third class. With the 'friend class' everything when OK, but i have problems with the friend funcion, it would be very helpful if someone could see what's wrong because i cant, and im really stucked with this.
...Code:// C5_TP3.cpp : main project file. #include "stdafx.h" #include
-
Is the array size it is passed through the function array_passer.Leave a comment:
-
Arrays + reinterpret_cast Help
I am doing a practice exercise from "thinking in c++" whose answer isn't covered in the annotated solutions guide, so I'm trying to handle it, but I don't understand what I'm doing wrong. Here is the exercise:
28.Create a function that takes a pointer to an array of double and a value indicating the size of that array. The function should print each element in the array. Now create an array of double and initialize each...
No activity results to display
Show More
Leave a comment: