Beginners (Page 76)

Key Presses
How would one wait for a key press let's say "P" to do something in the program but the program mus...
[1 reply] : yes its possible , this is what you see in video games. The enemies k... (by vxk)
by a1tn
Virtual static function that differs with each derived class?
What I am trying to do is have a variable that can be accessed statically (i.e. Error::code) but eac...
[2 replies] Last: Thank you very much JLBorges (by a1tn)
by Jhub
nested loops
I am writing this program that will simulate the roll of a dice. The user inputs the number of roll...
[2 replies] Last: the results still do not seem correct? #include <iostream> #include... (by Jhub)
Issue reading info from file.
Hey all. Writing a little program to help me with EVE online. SPREADSHEETS, WOO. Anyway, having a pr...
[16 replies] Last: Ya, that explains why my last attempt last night didn't work. Heh. My ... (by Raezzor)
Homework assignment I'm stuck on
I can't seem to get the void calcAverage part to work. can anyone help me. this is what my instruct...
[2 replies] Last: Now when you call the calcAverage function, you have it looking to rec... (by sherre02)
While loop if statements problem
How do I solve this? I can't get out of the loop. Every time I change my code around, something else...
[2 replies] Last: #include <iostream> #include <string> using namespace std; int mai... (by sherre02)
Need a little help
I am taking a fundamental C++ course for the first time and seem to be having trouble. The teacher i...
[4 replies] Last: #include <iostream> #include <stdlib.h> using namespace std; int ma... (by kemort)
What is the purpose of these arguements in main: "argc" and "argv"?
I have seen certain codes with these arguments inside the parameters of the main function. int ma...
[7 replies] Last: The arguments are a way to get user input without having to prompt the... (by admkrk)
Big O of recursive functions.
Hey guys I have several functions that I'm not sure if I got the big O for them correct. Ok for th...
[2 replies] Last: They're actually all linearithmic. Besides the time to perform the use... (by helios)
Counting sort on Int array of 1 million+
Hello, I am trying to read a file of more than 1 million ints and use counting sort to sort it (I'm ...
[1 reply] : You can't create an array on the stack whose size is a variable or dep... (by helios)
by Jhub
loops and more loops plus a little probability
I have trying to write this code for days now with little success. I am trying to create a code tha...
[5 replies] Last: I finally understand what I need to do let's suppose hold at number i... (by Jhub)
by wooly
Swap 2 numbers without temp variable! Please help!
I am working on an assignment and I need help with swapping 2 numbers without the use of a temporary...
[5 replies] Last: Try the following example, it should work. #include <iostream> #inc... (by Victor89)
Using a char arrays that change inside class members (1,2)
EDITED and UPDATED On Sept 27 at 2PM I am currently trying to make a tic tac toe game that uses c...
[22 replies] Last: Mostly syntax errors like: error C2143: syntax error : missing ')' be... (by tamirat)
by Ch1156
Why is this not working?
Ok so I am making something in SFGUI but there is one thing that isnt working, this line: source(...
[10 replies] Last: Ok I got it working, I added CropSprite in the beginning of UserInput(... (by Ch1156)
classes and arrays combined
I'm a bit confused with arrays with classes in them how would I let's say we have a list of boxes ho...
[2 replies] Last: search all of them for it until you find it. Now I kinda know how than... (by Tristan101)
Divide by zero workaround not working(basic C++ calc)
Hi, I just started learning C++ the day before yesterday. I am attemptinng to create a basic calcul...
[9 replies] Last: Use a switch statement for your menu of selecting the operation (by novellof)
Recursive function is playing tricks on me..
I am trying a write a function which displays the element in an AVL_tree. struct node{ int va...
[no replies]
Need Help With Assignment
Hi, this is my first time taking C++, I registered for the course late and I missed a lot, trying to...
[3 replies] Last: Ganado, Thanks for your help, I got it fully functional now. I went ... (by thatfunnydude)
Random Number Generator
Hi, I've scowered the forums for finding how too implement the random generator function inside of a...
[1 reply] : Call srand once at the beginning of main, and use rand wherever yo... (by Peter87)
Pages: 1... 7475767778... 120
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.