General C++ Programming - January 2013 (Page 18)

Super Beginner Needs Help
 
As I said, I'm just learning programming and I cannot find out what is wrong with this code. The...
[1 reply] : Don't do this: cin >> name >> endl; do cin >> name; ... (by Smac89)
A class constructor.
 
TinyGPS::TinyGPS() : _time(GPS_INVALID_TIME) , _date(GPS_INVALID_DATE) , _latitude(GP...
[2 replies] Last: Thank you. That answers my question very well. (by esepich)
Broken C string code
 
I am going through an old C++ book for fun and doing all the exercises to refresh some C++ concept I...
[4 replies] Last: use this code to successfully compile. I use time to randomness deal e... (by Sadegh2007)
by Vex5
Beginner help
 
Hello everyone. Recently I have been given a book called "Data structures and program design in C...
[1 reply] : C: How to program 7th writers: Paul Deitel . Harvey Deitel it's reall... (by Sadegh2007)
Wave (.wav) samples
 
Hi everyone, I am trying to do something with sound in C++. The C++ standard doesn't include soun...
[5 replies] Last: for starters, 8 bit sucks not only because the quality is horrid but a... (by Disch)
Winsock 2, bind problem & WSAGetLastError
 
I have a function that takes my a Socket object and binds it to a port. But the bind function return...
[17 replies] Last: Oh bloody hell why did I forget that -_-' And it works, thanks for poi... (by TheBreadCat)
Sprintf (?)
 
Hello! (sorry for my bad english.. english isn't my native language) so, i'm creating a copy fil...
[2 replies] Last: sprintf writes to an array/string not to a file int sprintf ( char * ... (by Smac89)
by Sara7
weekly cost calculator using arrays and function decomposition
 
Hi, I need help with my code for this program that needs to find the total cost of the week for each...
[no replies]
Small but strange question about "++"
 
Hi, I want to increase the value of some elements of an array according to a certain condition. F...
[2 replies] Last: Thank you Cubbi for your prompt reply. Now I get it! (by dekeenfrance)
What Next?
 
Learn Game programming or Windows API programming first? What are your thoughts? Which one do you...
[5 replies] Last: lazyfoo I believe has SDL tutorials. I used to like SDL, but it has r... (by Disch)
Optimizing timing functionality?
 
I've written a timer function in c/c++, but it still has performance problems. Anybody knows how to ...
[3 replies] Last: @Santosh Reddy: startThread starts a new thread (parameters are a poin... (by superfury)
**p : pointer how????
 
#include<iostream.h> #include<conio.h> void main() { clrscr(); static int a ={0,1,2,3,4}; st...
[2 replies] Last: By the way function main usually is declared as int main( int argc, ... (by vlad from moscow)
'double' alignment effect on speed
 
I would like to know if forcing 4-byte alignment for 8-byte primitive types (doubles and long longs)...
[2 replies] Last: > but probably there's a reason under Windows 'doubles' are always ali... (by JLBorges)
file handling problem
 
Please someone help me in this program: A program which takes input from user and write it to a fil...
[1 reply] : Can you show what have you tried in advance (by Santosh Reddy)
Read variables and methods of another program in memory
 
hello i want to write a program that can access to variables and methods of another program. I ques...
[1 reply] : For that you need to know the methods symbols to call them, try readin... (by Santosh Reddy)
programming presentation
 
I've made a project which works on LAN connection and I'm gonna present it in ma school exhibition.I...
[3 replies] Last: You can use it in applications like - Online Banking - Walth Manageme... (by Santosh Reddy)
Encrypting for the first time
 
I am currently studying at college C++ and we pretty much covered everything there is in terms of Pr...
[2 replies] Last: #include <iostream> using namespace std; void Encrypt(char * LOL) {... (by Santosh Reddy)
Tiling in SDL
 
I'm in the beginning stages of designing my first video game using SDL, and have run into a bit of a...
[1 reply] : I revamped all of my code and perfected my functions to no longer rely... (by jim hurley)
Need Class Design Advice/Tips
 
Hey guys, So recently I switched over to C# to help get a better grasp on class design and object...
[1 reply] : The basic approach seems ok. The bigger challenge you face is how to c... (by Santosh Reddy)
& Operator
 
I am having a little bit of trouble determining the exact meaning of this line here: TinyGPS &opera...
[3 replies] Last: the second one... it mean that paramter (value right of operator) of t... (by Santosh Reddy)
January 2013 Pages: 1... 1617181920... 36
  Archived months: [dec2012] [feb2013]

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