General C++ Programming - February 2012 (Page 31)

Read a text file - output to a text file
 
My C++ knowledge is from a half semester in college 5 years ago and I'm a more than a bit rusty on e...
[no replies]
How do I set up a time function?
 
So I started off with a simple project below. Basically I set it up so that when it was the weekends...
[no replies]
need idea/help
 
okay for uni i got given a question in class, i am at a loss at how to solve it i understand that i ...
[1 reply] : Here's what I would do: // Declare variables for input, counter // ... (by MrHutch)
Retreiving particular location of buffer
 
Hi all, I have to write a program in VC++6.0 in which I have to create a DOM tree using RapidXml ...
[no replies]
SDL Help me to avoid memory leak
 
My game took 1GB ram after 15 minutes. I dont know why,I included destructors and cleaned up every ...
[5 replies] Last: Well,THanks for the tips ! Problem solved ! (by hentaiw)
Rvalue references
 
Hello everybody. I wrote this code, just to see if I can correctly implement the move constructor ...
[12 replies] Last: > noexcept is not available in VS2010. > Seems to be working anyway, t... (by JLBorges)
by rucafe
problem writing data to .txt file
 
I have data which has been processed and stored into a data structure, data_base, defined by 3 class...
[5 replies] Last: when you call the 'print()' funztion of 'dm:Step' you must insert the ... (by Vins3Xtreme)
by yayo
Tokens
 
Hallo, I try to read the content of a file and get the tokens from the file. I already implemente...
[7 replies] Last: thanks for your answer. I already do that with char c but still does... (by yayo)
Checss board
 
Hello I need help writing a program that repeated shows all possible moves of a queen or a knight in...
[no replies]
by Tigger
Standard Deviation??
 
Hey guys, sorry for the long code but I need some help. I got everything right so far up to the aver...
[1 reply] : try to place (double) before scores in stdDevation function: double... (by Vins3Xtreme)
by Lina
Help Solving Data Stracture assignment
 
Hi friends, I am new in this site, i just get data stracture course for first time. I need help with...
[4 replies] Last: I used VS IDE , File->New->Project->Visual C++->Win32 Console Applicat... (by misserwell)
program not returning zero
 
hello friends... my c++ program code is #include <iostream> #include <stdio.h> #include <str...
[5 replies] Last: i got it thanks (by rajeshgoblet)
Can anyone suggest a way of accomplishing this?
 
I have a program that tells me different ways that a number can be added up like so: Given the n...
[5 replies] Last: Google next_permutation in the algorithm header (by buffbill)
m = min(v1, v2); if (m != v1 && m != v2) cout << "Help!!!";
 
Hi guys. I was writing a simple program that performs an event-driven modelling of customers que an...
[6 replies] Last: Great catch by Athar +1. When i switched to long double type everyt... (by gamlet2008)
Outputting to a .txt file
 
I have been working on a simple program that will perform encryption/decryption based on a simple 1:...
[9 replies] Last: I have tried this using the myfile object for both encrypt and decrypt... (by Lukipaela)
Strange linker error with extern variables
 
I have a header that declares a set of variables with the extern keyword. Then I have a cpp file re...
[9 replies] Last: error LNK2001: unresolved external symbol "struct ore::server::Subsys... (by NGen)
Array of structures
 
Hi there everyone, I have tried searching everywhere for an answer to my question, but I cannot f...
[19 replies] Last: @flyer53 If you wish to use a std::string with the windows api, strin... (by closed account DSLq5Di1)
iterator not working (1,2,3)
 
This is by far the weirdest bug I've ever encountered. It seems like the for statement is broken (...
[40 replies] Last: Nice you figured it out =) (by clanmjc)
Link a C++ to a webpage
 
Please, I have an already made application and I want to link it to a webpage so that the input data...
[1 reply] : Use a library. For example: http://lacewing-project.org/docs/webserver... (by LB)
printing a vector of pointers (1,2)
 
in my class, i wish to print a vector of objects via pointers, so that i can add certain functions l...
[20 replies] Last: the only thing i think is missing, is that x doesnt have an initial va... (by Xendraw)
February 2012 Pages: 1... 2930313233... 43
  Archived months: [jan2012] [mar2012]

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