General C++ Programming - March 2010 (Page 3)

how to write code result to txt file.
 
How do I print the result of this code to a Text file? #include <iostream> #include <fstream> u...
[2 replies] Last: #include <iostream> #include <fstream> using namespace std; ... (by kerlon)
by NGen
Getting the Last Element in a List Container
 
How would go about doing this? I've tried: std::list<int>::iterator iter = List.end ( )--; B...
[8 replies] Last: std::list<int>::iterator iter = List.end ( )--; rawr... postfix w... (by imi)
Print a string sequentially
 
Hi everyone, Anyone knows how to print a string sequentially. Basically, i made an application...
[6 replies] Last: So what command will be used to activate the cursor during the sleep p... (by buffbill)
anyone can make this problem?
 
Write a C program that reads in a text file named sign_num.in containing 20 signed integers. The pro...
[2 replies] Last: ismael..u should try by urself..if u have any problem.. post it here.... (by EAStudent)
Storing all scores
 
I have a void function that asks the user for 5 different scores. This function should be called 5 d...
[3 replies] Last: As E A Student says you could use an array in which to store the five ... (by buffbill)
Need aid with boost asio sockets please
 
Hello! I'm trying to create code that reads from and writes to multiple clients/devices using boo...
[no replies]
C++ Windows Api
 
PLEASE HELP ME! hello,I'm Learning Windows Api.I used Borland C++ program.I want to run file powerp...
[2 replies] Last: Hello, again! Excuse me for my unclearly asked question. I want t... (by kilikyali)
Text Adventure Game
 
I made this on my 2nd week of programming Note:Due to formatting you may need to edit some lines ...
[1 reply] : code tags my friend, code tags http://cplusplus.com/articles/firedrac... (by closed account 1yR4jE8b)
by vrcel
Calculate Big O, quick/mergesort C++
 
I know in theory what Big O should be but I need to prove it by having having a counter of some sort...
[no replies]
How to call a script without system()
 
Is it possible? I know system calls are horrendously vulnerable to viruses and malicious users...So ...
[3 replies] Last: What I've been doing lately is actually building GUI front ends for my... (by closed account 1yR4jE8b)
Create classes or structure dynamically
 
Hello Team, I am trying to create a SQL table dynamically. Here is my requirement: 1. Once I r...
[no replies]
Print a string sequentially
 
Hi everyone, Anyone knows how to print a string sequentially. Basically, i made an application...
[2 replies] Last: Not so sure about the time part as i've never worked with time but I w... (by mcleano)
problem with reading txt file into vectors of vectors
 
Hi, i have the problem mentioned in the header: my file looks as this: Iso: pfmkk600ta70lp703 T...
[1 reply] : no reply... . I mean is my code not even wrong? (by sajakob)
generic c
 
hi i am a student and i am learning programming last semester i have learned c and now we learn c++...
[4 replies] Last: yep.... (by deadshot)
How long can a line of code be?
 
This is just out of curiosity! Does anyone know what is the maximum number of characters that a line...
[8 replies] Last: So is it the backslash "\" or is it the forward slash "/" ?????? ... (by imi)
by bills
writing file characters to a 3D array
 
I am trying to read and write a text file into an array and then store it back into the text file. T...
[no replies]
reading txt file using a function
 
Am trying to open a file by calling a function. Error: [Linker error] undefined reference to `re...
[1 reply] : The declaration of readinfo() takes no parameters, and the definition ... (by helios)
if statement operator "&"
 
Hi, I was working on chapter 11 of "C++ A Beginners guide, 2nd ed.", and in one of the examples (wit...
[2 replies] Last: Bitwise and (&) is like logical and (&&) the difference is that it per... (by Bazzy)
Case Tools
 
I was wondering if anyone new of a website where I could get some free case tools. My instructor ass...
[no replies]
please solve the following question
 
Write a program to perform following • Read a text file, line by line and split every word. • ...
[2 replies] Last: Please pay the following fee... You have some balls though, expecti... (by cnoeval)
March 2010 Pages: 12345... 23
  Archived months: [feb2010] [apr2010]

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