General C++ Programming - November 2011 (Page 40)

Converting a wstring to LPCTSTR
 
So apparently, when I try building my program, I get a compile error when I'm building for x64, but ...
[4 replies] Last: The pseudo conclusion I can come to is this then... While I was able ... (by closed account 1vRz3TCk)
Including headers
 
Well I am having problems with definition two classes in separate files but still being able to use ...
[1 reply] : Ironicaly, this is the exact same example I used in my article on this... (by Disch)
Free Library to use the Web Cam and to do Computer Vision
 
Hi all, I am interested in writing a c++ program that will utilize my web cam. How would I do thi...
[1 reply] : OpenCV (by helios)
encrypting something
 
I need help encrypting a video game. It needs to be strong encryption, and work on binary files. I a...
[2 replies] Last: I'm not sure why you'd want to encrypt game files anyway. If they're ... (by Disch)
isPrime
 
I have been having trouble with prim numbers as well, but in my assignment I have to use the isPrime...
[9 replies] Last: it says isPrime must return a value, what is that? (by Troy Wills)
Rude::Config Compile error
 
I've been messing with this for a few hours now and its driving me nuts. I'm trying to use the RudeC...
[1 reply] : Finally figured it out. - I downloaded all the source files (cpp and... (by Deftwun)
Problem with reseting game
 
Line 15 of Game.cpp gives me awkward error: 1>.\src\Game.cpp(14) : error C2059: syntax error : ']'...
[4 replies] Last: I lol'd IRL when I read that. That sure is usefull to know. Thanks aga... (by closed account 10oTURfi)
by Icenel
use %d and getch on c++
 
I made this C code then I want to make C++ version, i remember i can't use % on C++ I want to read i...
[3 replies] Last: I see, I didn't get that at first. Can you use Win32 api stuff? or is ... (by ceruleus)
no output result when searching array or displaying array
 
im creating a list that allows me to input data that search or display the inputted data. for some r...
[no replies]
Sending output of the program to serial port (rs232 - COM3)
 
I wish to send the output of my program to serial port (I am using a USB to serial converter on my l...
[1 reply] : VC++ consider port as a file , you have to open the port and then send... (by bluecoder)
NEED HELP!!!
 
Hey can't find out why this in incrementing wrong. It should increment the function check answers 12...
[7 replies] Last: You have assignment operators in your ifs if(x=0) // assigns x the... (by mik2718)
Initializing 2D Static Array from Constructor
 
This may seem like an odd question, but I simply cannot get my 2D array to initialize. In fact, I ca...
[2 replies] Last: Thank you! Now my array works! I have a few other problems, though, bu... (by DethRaid)
nested template classes.
 
So I have a template class like this: template <class T> class Input { public: Input(T ...
[4 replies] Last: Thank you!! (by ischuldt)
how to disable autoinclude in visual studio
 
hi, I'm geting sick of MSVS C++ while it autoincludes headers so I basicaly have no need to include...
[9 replies] Last: so if I include wxWidgets headers into my project using project proper... (by codekiddy)
by Vladox
Tempate conversion method
 
I'm trying to write an operator method that will convert from the class member's type (which is temp...
[3 replies] Last: Well this is the only syntax error I see: { return (*B)ptr; } // ... (by Disch)
Critical section
 
Wish to know what happens if wait and signal calls are swapped. wait(mutex); ...Critical Section...
[1 reply] : Talking from a Windows perspective, that's the normal way, kindof. In... (by webJose)
by kcbob
expected ';' before "else"
 
i cant seem to find were the ';' goes void checkT(char temp ) { if (temp != '[' && temp ...
[6 replies] Last: how can i have it check for and ending value of },] or ) int len = ... (by Syuf)
Please help me..
 
I have a problem with c++. pls help me. As u all know there is a method to create a text file and w...
[2 replies] Last: http://www.cplusplus.com/reference/iostream/ofstream/open/ See 'Parame... (by Syuf)
by mar11
C++0X
 
Hi allo, I am stuck on understanding the difference between what is the std::initializer_...
[4 replies] Last: From Wikipedia: The class std::initializer_list<> is a first-class C... (by kev82)
by ivansl
file operation problem
 
pages.txt contains : One Two Three I wanna change "One" with scanf "Four" (for example) so ...
[no replies]
November 2011 Pages: 1... 3839404142... 47
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.