Beginners (Page 5)

C++ I/O and Basic Calculation
 
Hello all you wonderful genius programmers. I have to take a computer programming class as a prerequ...
[1 reply] : First of all. I have to take a computer programming class as a prer... (by TarikNeaj)
While loop
 
Not sure what I am doing wrong, but 1-99 work with this code but not 0 or 100. However if I change t...
[4 replies] Last: Thanks the program requires both a while loop and a do while loop doin... (by tygerrock)
by DBAC
Sum/Average from input file to output file
 
Read floating values from the file inputfile.txt and write the sum,average,and number of valid input...
[5 replies] Last: Did you manage to get all of the program to work? Edit: Looks like yo... (by TarikNeaj)
by Lee125
About Computer Organisation and Operating System
 
Hello friends. I have studied cs. Sorry if this topic is not related to programming. I didn't und...
[9 replies] Last: Yes I do agree with ShadowCode you may also read : http://www.appsforp... (by ashu malik)
Structure Questions
 
Hi, I'm currently learning about structures and I would like to know what the difference is between ...
[14 replies] Last: Alright, that clears that up. Thank you very much for all your help, I... (by Bogeyman)
Need help with file handling
 
Hey I need some help with file handling. I am making a math quiz. I am stuck on the last task of my ...
[2 replies] Last: Atm moment the code just saves the students score in a text file in th... (by Adem Penver)
Syntax Error: Expected an expression.
 
I'm getting a syntax error on the second << (the one just after FIRSTNAME) in the second line of ins...
[4 replies] Last: I figured it out. Source.cpp code: cout << "\n" << FIRSTNAME << "... (by Moredom)
Loops
 
In a laboratory experiment, readings of certain measurement are entered instantaneously to a compute...
[8 replies] Last: Glad I could help, a big improvement from your last posts :D (by TarikNeaj)
How to get a prefix for a credit card number
 
What I am trying to do is get a credit card number from the user, reverse it, and use the first and ...
[1 reply] : just fetch the first two digits before reversing the code by dividing ... (by programmer007)
Arrays
 
Hi
[5 replies] Last: This is part of the code I wrote when responding to another minesweepe... (by fg109)
Cannot convert Class::object
 
Hi folks. I've (hopefully) created a vector of objects (Trolls in a rougelike). Each object should...
[4 replies] Last: Works perfectly, cheers guys! (by Superelastic)
How to reverse the loop?
 
Write a C++ program to generate and print out the following series (using a single for loop): ...
[2 replies] Last: for(c1=10;c1>=(-10);c1-=2)//extending loop to -10 { int j=abs(c1); ... (by programmer007)
Binary Search functin problem
 
I've written the following binary search program using template. But when I run it, it gives an erro...
[1 reply] : int Binary_Search(T& Array, T& Size, T& Value) Thats not quite how ... (by TarikNeaj)
Question about design/performance between two ways of storing all game objects.
 
What's better - a single vector with all gameobjects derived from the same base class (and using dyn...
[no replies]
Read from file to an array of pointers
 
I have an assignment where I have to read a file into an array of pointers for a "Parts" object. I'm...
[no replies]
Sequences ?
 
What are those sequences :/ ! **3 4 6 8 9 12 15 16 18 20 **5 6 8 10 11 14 17 18 20 22
[4 replies] Last: I just need a hint . not the exact code .. and the previous attempts w... (by NahlaWael)
A vector of class that has vectors, can it be done?
 
I know an array must know the total size of objects it holds, but what about vectors? If I have ...
[4 replies] Last: I didn't explain myself very well. Imagine having a pointer to an arr... (by Jims)
Palindrome Checker help
 
I have the code, I just need to add a loop until the user inputs END. int main() { cout << "Ente...
[6 replies] Last: Oh come on @Andy1992. It is beyond obvious that my response was sarcas... (by TarikNeaj)
Can't delete a simple pointer
 
Is there something wrong with this code? Im getting runtime error on line 5 when I'm trying to delet...
[2 replies] Last: Ohh, thank you man :) (by etrusks)
Formatting: How do you display array elements justified to the right in output?
 
Hi, I'm trying to make a program that takes unsorted numbers from a text document, displays them,...
[10 replies] Last: Got it. Thanks so much for your help! (by JNegoda)
Pages: 1... 34567... 103
  Archived months: [jan2015]

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