General C++ Programming - September 2012

C++ help!!! If else statements?
 
Properly code a C++ if statement using one or more logical operators that connects two or more relat...
[2 replies] Last: if(Question.IsStraightFromTextbook()) { std::cout<<"Have you ev... (by Angeljruiz)
multithreading on client side not working
 
Hello frnds, I have implemented client server arch. wherein I have implemented multithreading on se...
[1 reply] : Plz reply as soon as possible...I am stuck since yest.. 1 or 2 threads... (by aditi88)
by MAQAH
Pointers
 
int *p is a pointer of an int type , int m=20 ; whats the difference between p=m,*p=m and p=&m ?...
[2 replies] Last: In addition to what pogrady said, even though your last two statements... (by Betray1st)
by MAQAH
Stacks and Queues
 
The question is about a basic concept , Why cant we use the variable s rather than using maxS...
[3 replies] Last: [quote=Ahamed Huzaim] "Why cant we use the variable s rather than us... (by closed account zb0S216C)
Need help pushingback a vector of class object
 
I am trying to implement a vector of a class that when certain inputs from the user are keyed in, el...
[2 replies] Last: orders.push_back(orders ); Looks like you are trying to use an orde... (by closed account o1vk4iN6)
by ALG042
Load array from text file using dynamic memory allocation
 
I am pretty new to c++, and I am having some trouble trying to read a text file into a 2D array usin...
[7 replies] Last: Thank you so much for your help ... I really appreciate it!! :)) (by ALG042)
HELP PLEASE!!!
 
Ok, so I need to write the following functions, a) int first_digit (int n), returning the first dig...
[3 replies] Last: What is completely different? Here and there the same function that re... (by vlad from moscow)
Boost::filesystem Searching... (1,2)
 
Could someone please explain how I can use the boost library to search for a directory and/or file i...
[21 replies] Last: In windows, on my system, my program would crash when I attempted to i... (by htirwin)
by ozza
How safe is this?
 
Hey I'm making a program that saves some files, so that it can read from them later. I made a direct...
[5 replies] Last: I've added a function into my program where users can install it, whic... (by ozza)
Return funtion
 
#include <iostream> using namespace std ; int calcArea( int , int ) ; void display ( void ) ; ...
[2 replies] Last: Here you are returning constant character string from the function whi... (by upX86)
How to make a chat bot for MSN
 
I'd like to create a bot that does the following: - Connect to MSN with an account - Reply to c...
[no replies]
repeat reading of last data
 
#include<iostream.h> #include<conio.h> #include<string.h> #include<fstream.h> #include<process.h...
[2 replies] Last: thanks peter87 (by niksri4)
by mono
Iterators?
 
I am confused. What is exactly an iterator? and what it is use for? I know that there is 5 kinds of...
[3 replies] Last: A very good introduction to iterators in C++: 'http://www.mochima.com... (by JLBorges)
payroll report
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> using namespace std; ...
[2 replies] Last: ok thank you (by Reaper1)
Help with connecting C++ and MySQL
 
I need to run a query in MySQL with C++ input. So far I've written this code: int E1, Ei; st...
[3 replies] Last: Well, I actually just learned programming. :) Is there a shorter way ... (by MirzaAdrian)
Numeric problems
 
Hi, Note: The question is basically what i've written at the bottom of this text, everything ab...
[10 replies] Last: > Constructing a float, double, long double or custom data type with t... (by JLBorges)
Binary Tree
 
Can someone please see whats the matter. The search function is not working. #include<iostream> usi...
[3 replies] Last: Oh lol sorry you did post the problem you said the search function was... (by Reaper1)
arrowhead program
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> using namespace std; ...
[11 replies] Last: thank you raman009, that was alot of help, at last i got it, i made th... (by Reaper1)
file handling
 
the program is not compiling &&& showing only a single error that i couldn't understood.have seen th...
[8 replies] Last: 0'shit !!!thnxs mAn ................. :)@aramila !!!! (by biLmLik)
by Pludge
Help with bubble sort
 
Hi. I am dealing with an assignment that requires me to have Bubblesort perform a few tasks. origi...
[3 replies] Last: Delete comma on void Bubblesort2 (int ulist , int slistr , int n);... (by andyoucantoo)
September 2012 Pages: 123... 32
  Archived months: [aug2012] [oct2012]

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