Beginners (Page 3)

by MSH
How can an int be converted to a char
I would like to store an integer to a character array and then display the character (which would be...
[9 replies] Last: @dhayden sure he wont understand a single thing if he just use sprintf... (by Lorence30)
Win32 App not running in window but in console
I've created a windows application in c++ through platinum SDK. When i run this app, it'll run in co...
[1 reply] : See this: Als... (by kbw)
develop simple system for business
A developer wants you to develop a simple system to monitor his business processes. The processes ...
[5 replies] Last: Okay, so each item of stock has a name and an amount. You need a coll... (by dhayden)
This morning i joined an organization that will teach programming to other freshmen for their prepar...
[8 replies] Last: @mutexe i think it would be worst if i ask on java forum because ,like... (by Lorence30)
find longest word in file
how can i find and print the longest word? #include <iostream> #include <iomanip> #in...
[2 replies] Last: Just to show you how it can be achieved (without the file stuff): ... (by Softrix)
Read from text, Write to Binary
I created a text file with comma separated data and I want to read from the text file and then write...
[2 replies] Last: Also, you are actually writing text in a binary file. Just that you ha... (by writetonsharma)
Undergraduate Project Topic
I am new here and i am wondering if any one here could assist me design a project program.
[1 reply] : Could? Probably. Should? You have to convince us with more precise... (by keskiverto)
Error: expected ';' before '{' token.
Hello! I am trying to make a simple function that outputs a grade for a person based on the amount o...
[8 replies] Last: Thank you all so much! I found all the bugs you pointed out and fixed ... (by cplusone)
going from numbers to barcode
I need help going from numbers in a code and encoding this into a barcode in a function. Honestly I'...
[8 replies] Last: @ppate215 as mentioned above Line 49 is just for Debugging purpose bec... (by Atyab)
plot a 2d line
Hi, I'm new to c++, and now I need to plot a line according to several points(x,y). Is there any eas...
[2 replies] Last: SFML 2.1: sf::Vertex line = { sf::Vertex(sf::Vector2f(50,50)); ... (by memberfunction)
strtime issues
Im kinda stymied by the fact that _strtime is in the 24 hour format.. Can somebody point out how to ...
[2 replies] Last: You should give it ... (by giblit)
Code continues to repeat
My first output keeps repeating (i.e. number = 24 | output= 00000000000000.... Could someone please...
[2 replies] Last: CORRECTION: I was able to resolve the problem, thanks so much. The po... (by pasports10)
stuck at beginning of task
I've been having problems displaying 36 numbers in a .txt file in 5 rows as a part of a 2d array. ...
[14 replies] Last: endl is used for printing new line. It's obviously. Just changed it ... (by lsk)
by pudgz
Creating multiple output files using ofstream.
I've been working on this sales problem that has me write a program that takes in a list of salesper...
[2 replies] Last: wooo! awesome! thank you so much! your comment on my line 58 saved me ... (by pudgz)
by CDavis
Dynamic Allocation
So I'm having a hard time getting the concept of this and not really sure where to go with this code...
[1 reply] : This is a C++ forum. You are posting C code. The terminology in the ... (by cire)
problems with my function
Hello I have been writing a function in c that reads data from a file of this format: the_dragon!...
[2 replies] Last: that fixed the infinite loop but its still not reading the data into h... (by tomplusplus)
by talya7
Format of Output and put_money
I am trying to format my function so that the output has a space between the headers and using put_m...
[2 replies] Last: Dollar signs before the amounts do not appear when I do this. Also the... (by talya7)
code help
Why doesn't this work? #include <iostream> using namespace std; int main() { int x; cout << "wha...
[6 replies] Last: Thank you! (by Mytricks)
getline(cin, VAR) not working in do/while loop if repeated
Hello, I would appreciate some help on this. below is my program so far. The "isinputgood" functi...
[1 reply] : nevermind. I needed a cin.ignore() and cin.clear() after line 45 for t... (by Entropy)
by dev144
Gross Pay Application
Just began studying c++ 1 week ago. Really not understanding my assignment. If someone could give me...
[1 reply] : No idea what it means by using a for loop and a while loop, but here'... (by Ganado)
Pages: 12345... 83
  Archived months: [may2014]

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