• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Help with C++ Word Guess Game
 
So I've been trying to get this word guess game working, but the word so far is not showing. For in...
[2 replies] Last: Oops, i didn't copy and paste, i just wrote it out from another progra... (by warlord42)
i have written my code!! but i need someone to remake it!!
 
so i wanted someone to remake the code that i`ve written to have : a recursive function to evaluate...
[5 replies] Last: kind of!!... sorry for my bad english (by deepestblue)
copy/Constructor and destructor help!
 
Hi, My teacher gave us this problem for homework after horribly explaining the process. Can someo...
[2 replies] Last: Thanks for responding! I tried what you said but it is still giving ... (by danv543)
by drax
string arrays loop
 
Hi, I need some help in understanding how to do loops with string arrays. If I have few string a...
[1 reply] : for(int a=0;a<3;a++) { for(int b=0;b<3;b++) { ... (by Chriscpp)
by auba
Assigning string tokens to an array
 
Good day, I need to dynamically build a control file for a SQL loader but when tokenizing line va...
[3 replies] Last: Before we go further, I'm pretty sure either I'm missing something imp... (by Duoas)
Building Glib on Windows XP
 
I'm trying to configure GLIB on windows XP using a MINGW compiler. I'm also using the MINGW command...
[5 replies] Last: Maybe some help here: http://sourceforge.net/p/mingw/bugs/2216/ (by norm b)
please help!
 
So I need the process to terminate for the number of processes which have arrived. but it just dies ...
[2 replies] Last: First thing i see is that you want line 20 to be ==, not =. You're doi... (by Ganado)
Algorithm to read duplicate array elements, return first duplicate value only
 
Hello, I'm sorry if I am asking such a dumb question but this has been annoying me for some time now...
[6 replies] Last: zoran404 You genius, I have been at this for about 1 and a half hour... (by ANewbieCplusplus)
vector push_back class
 
how bad/good is this code? I mean, how do you push back class to a vector in other way? is this some...
[2 replies] Last: how bad/good is this code? mycls.push_back(*new cls); — absymal. ... (by MiiNiPaa)
output stream acting weird
 
I am trying to program a stack based linked list. Something very weird is happening with my program....
[7 replies] Last: ooooooooooh, now i see lol. Thank you guys. (by armonsafai)
Get Day of the Week Program
 
How can I check for an invalid date when I run the program? I am trying to enter a conditional state...
[1 reply] : For validating days and months just check if they have values from 1 t... (by zoran404)
Menu class. Need to add "Go back to previous menu"
 
Here is a simplified version of my Menu class, where submenus can be inserted arbitrarily deep. I n...
[3 replies] Last: Thanks JLBorges, for the idea. I was searching so hard for a design p... (by prestokeys)
RegisterClassEx, class conflict
 
I made a class that loads images from files and displays them on screen, with chosen color used for ...
[8 replies] Last: I meant that only the first one is displayed. And I don't really know... (by zoran404)
inheritance,class,c++
 
#include<iostream> using namespace std; class a { public: void add() { ...
[5 replies] Last: yes i got it thanks (by sajid dayer)
vector
 
can someone please help me? how can I create a vector with the following devices: printer, disk, ...
[4 replies] Last: now its just outputting 01 01 01. void deviceSetup (vector <int> dev... (by Stephanie)
by ScrubJ
Input from a file in CodeBlocks
 
Hi! I'm using Codeblocks 13.12 in Windows. I want to compile and run c++ files with the console inp...
[3 replies] Last: http://stackoverflow.com/questions/13295869/code-blocks-redirecting-in... (by MiiNiPaa)
C++ gettinng Segmenation fault
 
I was trying the question http://www.spoj.com/problems/JULKA/. I used vector to solve it i m gettin...
[3 replies] Last: @dhayden: B<=A The overflow in input{A,B}() is an issue @OP: /*165... (by ne555)
int* to int error?
 
Hey guys I keep getting an invalid int* to int conversion on lines 44, 48, and 51. Can someone tell...
[4 replies] Last: @MiiNiPaa Hey thanks. I got it to compile but for some reason it keeps... (by fl4pjacks)
by krad23
Function that returns the max of a variable number of scalars
 
I need to create a function that takes as an input a variable number of scalars and returns the bigg...
[2 replies] Last: std::max_element(v.begin(), v.end()) // returns 8 max_element retu... (by MiiNiPaa)
Pages: 123... 57
  Archived months: [aug2014]