Beginners - June 2008 (Page 9)

Modifying line in text file
 
I have the following data stored in a text file: LastName,FirstName,StudentNumber,PhoneNumber,Email,OHIP They are all stored in strings. I want to be a...
[no replies]
Read formatted data from stream
 
Hi to everybody. I'm a beginner c++ programmer. Hard job! I'm tring to read data from a text file. This file contain some text and some number. My file is...
[8 replies] Last: Thanks once again. The problem with ios::trunc was I should declare fi... (by Michele)
What to do using classes
 
create a of elevator program using classes and submit to me
[4 replies] Last: We can't help if we don't know the problem. If you have a problem wit... (by bnbertha)
Masked Textbox data entry
 
I didn't see anything in forums posted on this yet. My goal is to read data from a Stream^ object in varying lengths of bytes, display the data in user-editable...
[5 replies] Last: I double checked and what the help files and error messages have led m... (by llltrunkslll)
by shyn23
C++ program
 
Can anybody teach me how to pass an array parameter from the main function to member function of the class that have been declared?? It would be better if...
[6 replies] Last: I replied here: http://www.cplusplus.com/forum/general/2361/ P.S. ... (by Mitsakos)
Price Computing Problems
 
im writing this program that calculates the price of fruits but for some reason it is not calcualting right. any suggetstions? #include <iostream> #include ...
[1 reply] : You are not assigning a value to price or quantity so total will... (by Zaita)
string to int array
 
hello mates... I am a new in C++ and i try to build a project for my school i have a question..... in my project i would like to choose a binary number...
[2 replies] Last: thanks for the answer.but this is not what i want..... imagine in a... (by zourlas)
Bad Ptr on char pointer
 
Helo everybody, I'm trying to read the contents of a file using binary mode. I am using the code from the tutorial with the add of displaying the contents of t...
[10 replies] Last: The code project site is a good bet, I've found two with a quick searc... (by bnbertha)
Hung up on error
 
Very close to completing this assignment. Had the program compiling without errors when the instructor suggested I try using dynamic binding. Ran into error: 10...
[3 replies] Last: I am thinking that you would have to split the responsibilities of the... (by closed account z05DSL3A)
Connect to FTP server
 
Hello everybody, I want to connect to an ftp server (i have user and pass) and retrieve a file, make some changes and put the file back. I'm looking 2-3 days ...
[1 reply] : You want to do this in C++? If so, you will need to learn how to do C... (by Zaita)
Exporting Char Array to Excel
 
Hello, I am a new programmer with the C++ language. I have a task at hand which I would love to get some help on: I have successfully outputted 40,000 volta...
[3 replies] Last: If I understand you correctly, you wish to dump your array as a single... (by Duthomhas)
How do I print double quotes?
 
Quick question on use of "ofstream." I'm trying to use ofstream to output some text to a file. The problem is that the text I want to output contains double q...
[2 replies] Last: Thanks! (by madhavan)
integrating classes to a long running project
 
this is a game I've been building on since i started learning c++ about a year and a half ago. id like to integrate classes into it now in the form of making t...
[1 reply] : The thing you need to do first is work out what the logical set of obj... (by Faldrax)
by Venged
AvRAGE++
 
I'm currently working on my newest program called AvRAGE which is a small averaging program (hence the name) that allows the user to average any given numbers. ...
[9 replies] Last: well yes but i would like to give credit because if it wasnt for your ... (by Venged)
Fork or Thread ?
 
I have researched this a couple of times, but still have not gotten any "aha!" moment on this subject. Context: www on hosted service. Wrote a TCP/IP server, ...
[1 reply] : As you pointed out, forking a new process involves processing overhead... (by bnbertha)
Add new line to end of txt file
 
How do I add a new line to the end of a text file? The line contains both string literals and variables. I'm sure the syntax is really simple, but I've looked s...
[7 replies] Last: If you want just t write at the end of the file try to open it using t... (by Mitsakos)
by fonzie
This problem is geting disgusting.
 
I've been having a reccuring problem with my code for around a month now where the code compiles fine, however, the file is not created. While at my friends pla...
[3 replies] Last: I figured that was the case. Good luck! (by Duthomhas)
by Latte
How to : Count line in other source code ?
 
How to count line of code in text file or file .cpp (this .txt file or .cpp file is the input file of program) and what's function for count line of onl...
[1 reply] : I take it this is a school assignment so I won't give away the answer.... (by dboyce)
by quant
binary tree recursion c
 
Hi all! How to walked around binary tree use double recursion onto c non c++? I'm to search optimal algorithm fining. Example, I've been any a first symbol th...
[1 reply] : Binary Tree Recursion void traverse_btree(struct treenode *pNode) ... (by dboyce)
Multithreading?
 
I was asked to do an extra credit presentation on multithreading and have no clue where to start. Does anyone know of any good tutorials or can give me any link...
[2 replies] Last: If you're coding on Windows MSDN is a great resource Multithreading... (by dboyce)
June 2008 Pages: 1... 7891011... 13
  Archived months: [may2008] [jul2008]

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