General C++ Programming - March 2009 (Page 21)

IM STUCK ON THIS PROJECT
 
I NEED HELP IM SUPPOSE TO WRITE A PROGRAM..IM SUPOSE TO INPUT AN AMOUNT OF TIME IN SECONDS..THEN THE PROGRAM SHOULD OUTPUT IT IN WEEKS,DAYS,HOURS,MINUTES,AND SE...
[4 replies] Last: so the program doesnt end he told us to put these: //cin.ignore(99,'\... (by aguger1)
the register keyword
 
Hi, I caught myself confused about if register keyword should be used in code, having compilers of present days or no? Is it like "use in some rare cases, when...
[4 replies] Last: The microsoft compiler completely ignores the register keyword, beyo... (by Skorj)
Using exceptions: a bad style?!
 
Good day again, today I have a more general question about safe programming! I will base it on a simple example about std::string: it MAY happen, there is not...
[13 replies] Last: Karlis: To be honest, I have no idea what "exception safe" means. Ma... (by Skorj)
using ace_xml parser
 
hi all, can you enlighten me as to how to use ace xml parser in order to parse an xml file. regards, psankisa.
[1 reply] : Try their forums/mailing list. (by Zaita)
Homework question - Involving maps...
 
Okay all, so i have a conundrum and Its likely just because its late and I cant think, but I cant seem to solve this question. Okay here goes: 18.) Use this ...
[1 reply] : map<string,int>::iterator mPtr = mLength.begin(); (by Zaita)
Data i/o
 
Hi, I need to select a good method for sending and receiving files between a server, and my home pc. I was going to FTP flat, or text, files. I need to aut...
[1 reply] : FTP or SSH (SCP) (by Zaita)
Problem with Stack Requirements
 
Does anyone else think the requirements and example outcome of the assignment below make absolutely no sense? I don't see how the example output can be achieve...
[9 replies] Last: Thank you Grey Wolf, that did the trick! I'm curious though, any idea... (by Return 0)
How to find the name of the parent process?
 
Hi, I am currently programming in C++ under Linux. I have written a software that can be executed by different processes. In one case I have to implement a spe...
[no replies]
Serialization of binary string
 
I am trying to serialize binary string and immediately de-serialize it. The problem shows up when I am accessing the results of serialization. Why "testout " va...
[1 reply] : Problem solved, thanks. (by Archie14)
Cin and functions
 
Alright the three errors I got and don't understand are these (coming from Microsoft Visual C++ Express Edition) error C2065: 'cin' : undeclared identifier ...
[3 replies] Last: btw you dont need char Y; char N; because you can say 'Y' instea... (by athlete501)
run exit code?
 
i was wondering if and how i can run code when the user clicks the X of a console application..or any application at that thanks
[14 replies] Last: genius! thanks a lot guys! (by athlete501)
Compression and Decompression in C
 
I need to make a program in C that does the following: Program to implement the run length encoder -- After the data is compressed and saved in a file another...
[1 reply] : Google Lempel-Ziv-Storer-Szymanski, or LZSS. It's a lossless compressi... (by helios)
What does this mean?
 
error C3861: 'PlayGame': identifier not found What is an identifier? The only PlayGame thing in my program is PlayGame()
[4 replies] Last: You can also give a body without a forward declaration if you do this ... (by Bazzy)
Write and read file again
 
My code is: #include <iostream.h> #include <conio.h> #include <stdio.h> const char *fn = "data.dat"; class Student { private: ...
[2 replies] Last: Can you tell me the detail, please (by tranphieudieu)
Syntax error - Thanks!!
 
hi this is my code, and error says - syntax error: missing ";" before identifier "endl", at the last cout line, and also - function call missing argument list a...
[2 replies] Last: thanks a bunch dude, lol i had another simple frickin mistake like tha... (by chewykb24)
just to say thanks
 
I would like to say thank you for solving my problem
[no replies]
March 2009 Pages: 1... 192021
  Archived months: [feb2009] [apr2009]

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