
please wait
by johnnystarr
Object Composition
|
I am wondering if someone could display a very simple example of using references vs. pointers for object composition. I am still a little confused. Here's a... |
Jun 1, 2011 at 5:30pm
[2 replies] Last: Thank you, I see now. *this is the self reference, as where this ... (by johnnystarr)
|
by tonnot
Is it possible to assign a buffer to a stringbuf - stringstream? It would be worthwhile ?
|
How can I assing a buffer to a stringbuf - stringstream ? ( What are the difference betwen them ? I keep on understanding ) If I put data in it , in examp... |
Jun 1, 2011 at 5:21pm
[no replies]
|
by sebgar
What's the difference between 'console', 'smfl,... ??
|
I've seen these terms in a few posts but i couldn't find anything on the tutorial. I am new to c++, just started learning a few days ago :) Could someone ple... |
Jun 1, 2011 at 4:11pm
[1 reply] : The following is very general and probably arguable in many aspects; n... (by Moschops)
|
by glynngb
Help
|
I'm trying to build something that will read certain bits of a text file so far i've come up with this but i'm stumped on it the text file is a log file but i o... |
Jun 1, 2011 at 3:43pm
[1 reply] : Please use the code format tags around your code. i only want certai... (by kbw)
|
by mdk85
long and short format date
|
how to write long format date ( 31 may 2011) in one screen in next screen the date should appear as 31/5/2011 .. i am working on reminders/to do list program... |
Jun 1, 2011 at 1:19pm
[4 replies] Last: can i write this program without using strftime / ctime in C++ ? (by mdk85)
|
by Wanher
Graphics Linker
|
Hey! Friends In my PC the c++ software is creating a problem named Linker error the program written in c++ file became successfully compiled but in execut... |
Jun 1, 2011 at 12:26pm
[4 replies] Last: ok...:P (by Wanher)
|
by Red87445
Dynamic Memory??
|
Hi, I was hoping if someone could explain this to me. When is dynamic memory suppose to be use? When is "new" and "delete" suppose to be used? Why is the new op... |
Jun 1, 2011 at 12:15pm
[2 replies] Last: When you use the new keyword, a block of memory is allocated from... (by closed account zb0S216C)
|
by RobertsR
A quick Question about CSV
|
Hello C++ Forum, I hoping someone can give me an answer to a quick question. I have a CSV text file to read. I'm able to get the values and manipulate th... |
Jun 1, 2011 at 11:42am
[2 replies] Last: Thank you Anthar, I've been given one month of data and in that month... (by RobertsR)
|
by Deathly
Weird include "extras"
|
#include <iostream> int main() { std::string s = "hi"; } Why does this work? The compiler is using strings without my permission! Also, if anyone k... |
Jun 1, 2011 at 11:38am
[2 replies] Last: The <iostream> header includes the <string> header. So, when you u... (by closed account zb0S216C)
|
by fanrongqi
a problem of using STL ,the hash_map
|
My code is like this: #include <iostream> #include <algorithm> #include <hash_map> #include <string> struct str_hash{ std::size_t operator()(const std... |
Jun 1, 2011 at 8:38am
[4 replies] Last: And the compiler error is... hash_map<Key, Data, HashFcn, EqualKey, ... (by ne555)
|
by greenace92
A program that I'd like to make to help keep track of my money
|
Just a quick side note: at first my intention was to run this program through a blackberry or an HTC Evo from Sprint. However I'm not sure if I can do that. ... |
Jun 1, 2011 at 8:30am
[2 replies] Last: I would have thought using Excel + maybe VB script within Excel would ... (by anonymous23323124)
|
by Tigerblomst
Beginners in C++
|
Hi everyone! I am totally new with C + +, I have previously programmed a part in VB6.0, but that is obviously on the way out. I have now found Microsoft C +... |
Jun 1, 2011 at 6:22am
[6 replies] Last: [quote=Tigerblomst]So now I ask here, there is a C + + program can be ... (by Mathhead200)
|
by Nisheeth
File Handling (1,2)
|
I had made a quiz. The quiz stores the scores of the users in a file. Now I wanted to do two things with the file. One, limit the number of lines in the file, b... |
Jun 1, 2011 at 6:18am
[37 replies] Last: Your file stream is probably becoming corrupted or ending before the c... (by Mathhead200)
|
by AKat
Using sizeOf, Pointers explanation
|
I've been working my way slowly through on understanding pointers. One of the examples in the book shows how to use getSize to return the number of bytes in an ... |
Jun 1, 2011 at 4:24am
[2 replies] Last: Okay, I think I do now. I just had to reread it a few times and think ... (by AKat)
|
by jellyfish
One Time Pin
|
Assuming I have 2 different programs, one called Dongle the other called Connect. One Time Pin (6 digits) is generated by the Dongle. The generation of the OTP... |
Jun 1, 2011 at 3:54am
[7 replies] Last: I was thinking of something like this. Pls correct me if it wrong. Do... (by jellyfish)
|
by CodeMonk
Loop not working
|
This is part of my code I'm having trouble with the second player looping until the bool PlayerHits doesn't equal true. Basically the same as the first player. ... |
Jun 1, 2011 at 2:13am
[2 replies] Last: ok i think i got the while loop running the whole part now but i still... (by CodeMonk)
|
by lcuriel
help
|
Please elp don'tknbow how tocall on functions i am stuck,i want to call my functions hhow can do this please write the code thanks. Here is the code: #inclu... |
Jun 1, 2011 at 1:39am
[16 replies] Last: On line 15 your calling SqRt, not sqrt. This will cause infinite recur... (by ModShop)
|
by Majeth
Loops - Problem
|
void createPrimes (int max){ int i, j; bool k = 0; for ( i = 2; i <= max; i++){ do { for( j = i-1; j > 1; j--){ if (isWhole((i/j), ... |
Jun 1, 2011 at 12:54am
[7 replies] Last: Yes! it's working! My evil minions can now utilize the power of primes... (by Majeth)
|
by defcon18
Looking for hints on reading file
|
I have to read a text file and then output the information from that text file. I have gotten the file to be read, but I need to format it under a heading usin... |
Jun 1, 2011 at 12:11am
[11 replies] Last: Never mind I got it to work, problem solved. Thanks for the help. (by defcon18)
|
by mkumbo
c++
|
Write the 6- in- one Program for -Finding solution of a Quadratic equation -Finding solution of a Simultaneous equation -Finding sum of all even numbers betw... |
Jun 1, 2011 at 12:00am
[18 replies] Last: Ah, could be. This forum's parser will append to the link the period.... (by webJose)
|