Beginners - April 2010 (Page 9)

concerning the USB port
 
I was wondering. I am more of the electronic side of computers and not too savvy on the programmer s...
[5 replies] Last: I am not convinced about the hookup of an led directly to an usb cabl... (by guestgulkan)
vector<double>::size_type or vector<int>::size_type
 
I have a function, in which I need to use a double vector and an int vector, so I need to index both...
[14 replies] Last: I disagree. Compile and look at the assembly. If you call end() in t... (by kempofighter)
Can there be multiple definitions of an overloading operator in a class?
 
Can there be multiple definitions of an overloading operator in a class? Like there are overloading ...
[2 replies] Last: In addition I would suggest you read up on operator overloading - the... (by guestgulkan)
can't check if file is dir
 
can someone please tell me why i can't check if the file is a directory? thanks this is system pro...
[1 reply] : I don't see why it shouldn't work. Your indentation is horrific. I'... (by Duthomhas)
Static Functions and Variables
 
I am having trouble using static function. I am initialising two static variables in GetResult() Fu...
[3 replies] Last: From your link: When you declare a data member in a class declaratio... (by Bazzy)
Parse Error before 'else' - Can't seem to figure it out.
 
Hi, I'm new to C++, currently in the process of trying to teach myself. I figured a good place to ...
[5 replies] Last: @TheBear Your example explains the dangling else pretty clearly to ... (by MenTalTerYn)
microsoft linker options
 
hi all, I have been using mingw g++ default to create and test win32 applications. But the lack of ...
[4 replies] Last: >>i assume you would have to add in ddraw.lib as well. Thanks for t... (by sanzilla)
Trouble w/ a code that involves strings/char arrays.
 
I just want to start of by saying, no I'm not here to get answers to my HW, just wanted a few hints....
[2 replies] Last: Thanks for the tip! Hmmm... Yeah, that was my concern as well. I wa... (by YanaNerd)
by Groo
uninitialized local variable
 
Hi guys n gals, I'm getting the "uninitialized local variable 'data' used" on line 26 and i can't...
[3 replies] Last: I made those changes and not only do i still get the same error, but i... (by Groo)
by Leydin
A simple solutiom that evades my grasp...
 
I am working on the first exercise problem at the end of ch4 in C++ Primer Plus: Write a C++ progr...
[6 replies] Last: Char problem I agree with you :- Thanks for the input. I told... (by southwest)
Cout/Cin with Arrays
 
In my programming class, we just learned about arrays yesterday. We had to create a test program tha...
[5 replies] Last: When you initialize the array, //variable declarations int threeVa... (by Soaps)
by LEESI
ERROR CATCH Problem
 
The below program has to be modified to throw up an Error msg FOR EXAMPLE "Sorry you have inputed an...
[2 replies] Last: Hey thanks for the reply,ahh right i was wondering why couldnt i just ... (by LEESI)
Functions
 
[8 replies] Last: Square Root - Modulous problem // sqrt.cpp : Defines the entry ... (by southwest)
Using functions to calculate periodic payments (1,2)
 
I have to write a program that prompts the user to input a loan amount (L), an annual percentage rat...
[32 replies] Last: R = functionOne (calcFactorFuncOne, R, L, i, r, m, t); There's no c... (by Dufresne)
by Morph
Expected Primary-Expression
 
Some part of my code for(int i = 0; i < numLes; i++) { char not = "XX"; char *ptr ...
[2 replies] Last: Also, don't use == with floating ponits. It will often produce "incor... (by Disch)
Question about virtual functions and...
 
Hi, I am taking a C++ class. The subject matter has been classes, pointers, inheritance, polymorphis...
[1 reply] : Insane greetings to the insane forum of insane geeks are distributed, ... (by Albatross)
by Remaku
Input an integer, output digits
 
I could use some guidance on this certain problem Write a program that prompts the user to input ...
[4 replies] Last: EDIT: 2^8 posts and counting. Lol, I haven't seen that one used bef... (by Mythios)
Graphics Output
 
I have Borland C++ free compiler installed on my MS windows platform. I can view the normal output w...
[5 replies] Last: Ah, yes, that's the old Borland BGI graphics. If you are using Vista ... (by Duthomhas)
stuck on for loop
 
Working on an assignment to practice with arrays and calculate a users grade but am stuck on the ini...
[2 replies] Last: well whats the loop supposed to do? (by squirtman59)
Question about using new on an array of structures.
 
Hi! I'm trying to learn C++ on my own using C++ Primer Plus and am stuck on the question in chapt...
[5 replies] Last: you do not need to allocate memory using new. Use kfgoh's second exam... (by kempofighter)
April 2010 Pages: 1... 7891011... 35
  Archived months: [mar2010] [may2010]

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