Beginners (Page 2)

File IO writing and reading
This programs description is to write a program that generates random product sku numbers and prices...
[no replies]
strange array values
Hey I'm trying to use a 52 array to create a deck of cards. for each place in the array I'm assignin...
[4 replies] Last: You were right, it's working correctly now. Thanks a lot for the help.... (by MrBond90)
Question about for loop.
Ok so my class is being taught experimentally where my class is group work, and the other class regu...
[1 reply] : You can use for(int i=0;i<10;i++){ //input //count the sum } /... (by LendraDwi)
pass-by-reference help
I have written the following to code calculate and display raises of 5% and 10%. My output is not c...
[1 reply] : LOL I hope you aren't serious. (by giblit)
No Suitable Constructor Exists
I am getting this error message and so far it's the only error in my program which is a game. I am h...
[2 replies] Last: I made Stringword up. It's a type I made up to make an array of chars ... (by JoJodoggy1)
Palindrome de-bug!
I have this program that I have basically done besides that there is still 2 errors that I am gettin...
[1 reply] : Seems like it would be more effective to just ignore the non-alphabeti... (by giblit)
by col28
Problem compiling
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <iostream> #define BUBBLE 1000...
[7 replies] Last: that's a very good idea! I'm pretty new to this, trying to get my hea... (by col28)
finding the average
Program instructions: Write a program that would allow a user to enter student names and Final grade...
[5 replies] Last: Here's my revised code. Like I said everything is fine except the fact... (by thealchemist405)
Printing alternating characters with array
I need to write an array code the prints this. $=$=$=$=$=$ $=$=$=$=$=$ $=$=$=$=$=$ $=$=$=$=$=$ ...
[5 replies] Last: I like your way better. I think it will work better with the assignmen... (by luke6386)
Text file help!
How can I look for an integer in a text file and replace it with another integer in c++?
[no replies]
expected type-specifier and cannot convert ‘int*’ in initialization
I have a large amount of code, so I have tried to only include the relevant parts of the code here ...
[4 replies] Last: If you don't use an IDE then you may want to write a Makefile (like me... (by tcs)
by vxk
vector sort and erase
In the following test cases why is the erase function being dependent on sort function?that is when ...
[2 replies] Last: its working properly with the sort... the output is 1 2 3 4 ? its not... (by vxk)
Data loss while reading with cin
Hello everyone, I'm new to C++ programming language and I need a help. I'm trying to create a prog...
[no replies]
How to cancel RETURN keystroke with windows.h? Or set it to “not pressed”?
I'm a beginner in C++, and I'm making a scrolling menu console application. Everything works as it's...
[no replies]
by Smilex
No such file or directory
Hello, im using codeblocks and when I try to compile it gives me this error :
[3 replies] Last: In the image the filename has an asterisk in front which usually means... (by Peter87)
do-while loop...I think.
I need to do a do-while loop as my for loops keep track of the numbers. Example: How many numbers wo...
[1 reply] : You can use a dynamic array to store the user's input in. Using a dyna... (by danghotties)
Area Calculator problems.
I am relatively new to programming. I started working on this calculator to calculate area. What I b...
[4 replies] Last: std::string is a class that holds 0 or more characters. http://www.c... (by AbstractionAnon)
error C3861: 'stonetolb': identifier not found
Write your question here. Hi. I am new to C++ and could not find anything on here that worked with m...
[1 reply] : google function prototypes, because im not sure you know what those ar... (by Little Bobby Tables)
How to store values into vectors/arrays?
For my assignment I have to create a library using text files as our input source of data. The data ...
[8 replies] Last: My class is supposed to represent multiple books Classes are supp... (by AbstractionAnon)
problem with release
Alright so i am working on a program that uses .txt documents to store and save data along with open...
[no replies]
Pages: 1234... 121
  Archived months: [sep2014]

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