Beginners - December 2012 (Page 62)

Please Help (1,2)
 
I need to write a program that prints all the even numbers between any two numbers using print_even ...
[21 replies] Last: I dont think he knows what a function is. He's using someone elses cod... (by SamuelAdams)
Reverse String - Odd characters showing up from mem address?
 
This is basically what the problem looks like: Enter string to reverse: AMAZING Reversed string: ==...
[6 replies] Last: If you are asking why the MA at the end of the 2nd it might be since y... (by Raezzor)
No operator "<<" matches these operands
 
Hey guys and gals, I posted earlier regarding problems with my program being split into 3 files; a h...
[7 replies] Last: Got cha. I'll try that in a bit. (by BinaryGeek)
Help with my program
 
Ok so heres the code: #include <iostream> #include <windows.h> #include <cmath> //Grade program!...
[2 replies] Last: Haha i feel so damn stupid :p (by Adiminium)
by lion99
Tic Tac Toe
 
Hello after so many years of sitting on my back wasting time, i finally decided to fulfill my passio...
[3 replies] Last: I am not sure which is easier, I have only done a small amount of work... (by cstarter2000)
Recursively counting combinations
 
So in my current assignment (one of the last few for the semester) I have to create a recursive func...
[8 replies] Last: So when i made the variable cnt, it was completely unnecessary? Good t... (by ThirdAge)
Creating classes
 
So my prof wants me to build classes using three different files. Kind of like this: //Circle ...
[4 replies] Last: Yeah. I think I actually solved this one on a different problem. My te... (by macleight)
is it a true question?
 
Write a programe that inputs a series of integers and passes them ONE AT A TIME TO A FUNCTION 'EVEN'...
[7 replies] Last: @ Stewbond yes good answer... (by azmizryk)
by Veltas
Returning an Object
 
Returning an Object is pretty simple in C++, we merely set the return type to the class and then 're...
[3 replies] Last: Now that I think about it, a std::unique_pointer wouldn't have much o... (by Athar)
Loop
 
How can I write a loop that counts only the odd numbers out of the first five numbers entered from t...
[3 replies] Last: But how would I write it using a for loop? If I choose to do so (by ny24gray)
Question about searching through strings.
 
Hello I'm stuck on an assignment where I have to open an fin file and then search each line for an "...
[no replies]
by KAB11
Help with Tic Tac Toe program
 
void checkMark(char array, int userInput){ int c=1; for(int i=0;i<3;i++){ ...
[2 replies] Last: array is of type char. It is not an array. void checkMark(char ar... (by cire)
Reading a mixed data type and taking certain data and placed in an array
 
Ok, so I'm given a .txt file that is in this format: John 32 0 1 James 12 2 1 Kevin 3 1...
[7 replies] Last: Your array is declared as a vector. Naming a vector type with the "arr... (by Raezzor)
C++: How to hide user input?
 
Like: string pass; cout << "Enter your password: "; cin >> pass; How to make it not disp...
[no replies]
This is very much a beginner thing, i dont know why this function doesnt check the if statment
 
the idea is to match a string with another string, and at the same time return true or false in orde...
[1 reply] : BOOM its easy! (by devonrevenge)
Help with pointers
 
Hello. I've been studying pointers and wrote a code that shows an error for some reason. The target ...
[3 replies] Last: This makes no sense. It's not allowed to dereference null pointers, so... (by Athar)
Virtual function problem
 
Hi! I'm about to submit my program for my course, but there must be at least 2 virtual functions ...
[no replies]
[Win32API] WM_LBUTTONDOWN not workin
 
ok so I have main dialog with 5 tabs (child dialogs) and I want to capture left mouse click in first...
[16 replies] Last: I have this LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDR_HIMENU MENU {... (by mekkatorqu)
Why do you need different files on large programs?
 
Just wondering why you would need multiple files on large programs and what they could be used for.
[4 replies] Last: say you have a large project, you might work on 2 files, while someone... (by SamuelAdams)
return in function
 
When do you not have to use the keyword return when you define a function???
[4 replies] Last: And in the contrary situation, even when the return type is void, the ... (by Chervil)
December 2012 Pages: 1... 6061626364
  Archived months: [nov2012] [jan2013]

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