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

by raduh
Cannot get graphics to work
 
Hello to everybody! I'm encountering a problem with any graphics code, even one as simple as: #i...
[3 replies] Last: If you were working on visual studios you could have linked the librar... (by closed account 3qX21hU5)
inserting elements in a set with type pair
 
I want to use a dataset of type set which will have the type pair<char,string> or pair<string,string...
[3 replies] Last: No compilers completely support c++11. Here is the table of support of... (by MiiNiPaa)
Troubles with vector
 
Hello all, I have defined the following data structure struct volSurfData { vector<doubl...
[8 replies] Last: OK - no suggestion, so I close the thread as solved :). (by michal mackanic)
cppunit SEGFAULT - with core dump
 
Hi, I have a CppUnit test suite that I execute and at the end of the execution the application se...
[no replies]
by Relax
Read only the oldest file
 
Hi. I'm quite new to C++ and got a problem of reading some files from a directory. All files is p...
[3 replies] Last: Thanks. This solved the problem. (by Relax)
Starnge validation problem with float and double
 
Hi, Below is my code snippet which seemed to work fine but then I found the following problem: ...
[6 replies] Last: fmod is working. It is just that the numbers that you pass to fmod isn... (by Peter87)
please explain to me why my Quiz Codes won't work
 
THE GREAT QUIZ SHOW GAME BY Do You Even LIft */ // Include libraries ...
[2 replies] Last: errors @ lines 0 & 26 & 30 from a first glance. (by closed account 3hM2Nwbp)
Guess My number game question.
 
So I wrote a program for a guess my number game in which I try to guess a number that the computer c...
[2 replies] Last: Good question. Well first is the obvious bit. You have to get the com... (by blueberry)
what is the program and the function for this question?
 
A 5 letter word x is hidden in a string y such that the first two letters of x are the first two le...
[2 replies] Last: If a word has even number of letters then there are two middle letters... (by vlad from moscow)
c++ programm using loops
 
5. Print the sequence using do while loop. * * * * * * * * * * * * * * * *
[13 replies] Last: I think usandfriends has it. Something along these lines: #include <... (by NolanNJW)
Game loop openGL : Fixed time step decoupled render
 
Hello everyone! I am in need of some dire help with my openGL game! I have been looking all over th...
[7 replies] Last: Yeah, that's how interpolation works, doesn't it? Maybe you should inc... (by S G H)
Trying to make a text editor as a part of a game.
 
This is the code I got, which works, but crashes randomly: http://pastebin.com/yyvUSaTQ (sorry abo...
[no replies]
Circularity doubt
 
hi!!! Someone can help me .... struct nodo{ int dado; ...
[2 replies] Last: so simple !!! Tested !!! Duoas, thanks..... (by Summerson Goncalves)
FTP using c/c++ or batch file
 
I am trying to write a small program that will ftp in c or c++. I have tried to ftp directly from t...
[3 replies] Last: I started to try to fix all of the errors my compiler was giving me. E... (by Ada Amer)
polymorphism with objects/adresses
 
Here goes my question. i understand how upcasting and late binding works when it is used in a global...
[7 replies] Last: Many many thanx to all you. I really was thinking about what u are tal... (by xavipoes)
Error Message
 
Hi I am a beginner C++ person and I tried to compile my first Hello World Program. I am using the S...
[15 replies] Last: I'm just a student, far from being employed. I'm taking a course that'... (by NolanNJW)
Different array declaration
 
Hi, I would like to know the difference between the following two forms of array declaration: ...
[6 replies] Last: OK, thank you for the information! (by dekeenfrance)
Eight Queens Fun
 
I am just going through a C++ book for fun and I have run into an issue when trying to solve the 8 Q...
[no replies]
by jaded7
lambda functions
 
Hi, I've been trying to pick up lambda functions but I wasnt clear on one detail- is there a rul...
[5 replies] Last: > So, by default I should pass variables via function arguments, not c... (by JLBorges)
My program
 
#include<iostream> #include<ctime> #include <math.h> using namespace std; bool replace(int...
[1 reply] : class Person{ private: string name; int popularity; ... (by yasminaty)
January 2013 Pages: 1... 2728293031... 36
  Archived months: [dec2012] [feb2013]

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