General C++ Programming - December 2011 (Page 2)

New to c++, simple program
 
Hello all, I have been taking c++ programming for only a few months at college and I am not very good at it so far, I am currently quite good at VB.net and Acti...
[1 reply] : Ehh!! I remember the good old days of actionscript... :P For retrievi... (by strongdrink)
URGENT .MySql Connectivity through C or C++
 
hi to all,,, I am new here .. I wanna ask how can I connect to MySql server through C or C++ its urgent. I need step by step tutorials... like what IDE...
[1 reply] : http://bit.ly/rZR55e Yup. Like that. (by webJose)
compile a code
 
hi i have a code and a compiled example of that the file size is 6kb and it doesn't need c++ runtime to run but when i compile that code myself, size going to 3...
[2 replies] Last: also, use: --static-libstdc++ when compiling It won't say c++ runti... (by rscarson)
by Bhoye
Pls how can ı write a Hangman program
 
Please how can i write a program that will check a sequence of strings maybe the character is there and the user will be given five chances to search the alphab...
[2 replies] Last: using strings is actually a good way of doing it. string key = "th... (by Stewbond)
Can't understand error
 
HeyI got this error,and I have no ideahow to fix it. UTWeap_SniperRifle.uc(456) : Error, Unexpected end of file at end of Class here's the code http://www.meg...
[1 reply] : I didn't download your code, but this error usually came if you forget... (by Ivan Sidarau)
by Mats
Becoming Professional
 
What kind of knowledge is required to become a professional C++ programmer? I would quite like to do game programming (and yes I know how hard and unromantic it...
[13 replies] Last: So a professional knows shortcut,that can help them do the job easy a... (by KunjeeB)
Undefined reference to a function encode_character
 
Hi everyone, Ok, so I wrote myself a makefile, which worked - I checked it with a simple cout << "Test\n" in the main itself. But now I have written a much m...
[3 replies] Last: OOH I made it work - yay multitap: multitap.o main.o g++ -g ... (by redrubia)
Reference Counting
 
What is meant by Reference Counting?
[5 replies] Last: I think something like this: class myClass { private: stati... (by majidkamali1370)
Scanning the screen for colours, and then reacting to the colours.
 
Before reading any further 'windows.h' is officially banned from this thread. As the title says, find out colours on the screen (or alternatively just under ...
[8 replies] Last: I felt I'd get more attention here (I did but not necessarily the atte... (by Matthew Bronder)
by dalawh
NULL
 
Can someone make a list telling me how something is indicated as NULL? Like what uses 0 as NULL, etc.
[6 replies] Last: Okay. Thanks for the replies. (by dalawh)
accessing fstream open arguments
 
Hi - I'd like to write a utility routine to open files. One of the arguments to the routine would be the io mode (read, write, etc.) How does one access thes...
[9 replies] Last: Hi, Stewbond - the program I'm running should scrap all old output and... (by mzimmers)
Strange Console error
 
Okay so im having a weird issue, this is my entire code so far #include <iostream> using namespace std; int main() { int SP = 1; //sets a starting p...
[3 replies] Last: JAVA! what have you done to me! okay guys thanks alot (by Mason Farina)
help with arrays
 
int array1 ; int array2 ; int array3 ; int array4 ; int array5 ; int array6 ; int array7 ; i have seven arrays with a maximum of 255 values. is there...
[10 replies] Last: I vote for struct/class . struct SO_NPCAttribute { SO_NPCAttr... (by closed account zb0S216C)
Vector class, Iterator and Inheritance
 
I have made two classes of Canvas one makes use of Vectors and other uses and array. The problem is in class that uses vectors and the problem is that toStr...
[5 replies] Last: Well, the main problem I see is memory management. You aren't deleting... (by Athar)
Open USB Cash drawer in 1 click
 
Hi, I dont have any idea in programming C++, I have an .EXE file that will open first and it contains 2 Buttons to open a cash Drawer and the second to check t...
[no replies]
Tutorial
 
I was wondering if there are any C++11 tutorial that are online and free and are there any books out for c++11 yet?
[3 replies] Last: Try these: http://www2.research.att.com/~bs/C++0xFAQ.html http://gcc.g... (by rscarson)
quick question
 
Are programs compiled on a linux os executable on windows os?
[6 replies] Last: Thanks for clearing that up for me (by TheFlow450)
C++ Gui Programming
 
So far ive learnt strings and variables, stuff like that and im wondering how difficult is it to move on to GUI programming? I use Dev-Cpp If so how would i ...
[5 replies] Last: Instead of starting from main I cant help it but to quote this. I l... (by closed account 10oTURfi)
C++ Looping
 
I asked about repeating a c++ code and i was told recursive functions were the way to go but i just cant figure out how to add it to to my code lets say: ...
[3 replies] Last: I don't think you are supposed to call main() at all. @Telion: I kn... (by eypros)
if-else statement!!!
 
Can anybody tell me what is the error in this statement!!! if(Status=="member") { cout<<"The user is a member"<<endl; } ...
[6 replies] Last: You are declaring Status as a c-string rather a string so, you cannot ... (by sherwani)
December 2011 Pages: 1234... 39
  Archived months: [nov2011] [jan2012]

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