General C++ Programming - February 2010 (Page 5)

most efficient sorting
 
a question from google, watch the video first then answer. http://www.youtube.com/watch?v=k4RRi_ntQc8&feature=related i'd like to know your opinion. edit...
[17 replies] Last: Note that the randomness of the data set is also a factor. Check this... (by moorecm)
aplicação web c++ utilizando CGI
 
Se alguem puder ajudar: Construir uma aplicação WEB em C++ utilizando CGI, a aplicação deve possuir uma página principal com um menu e as opções cadastr...
[4 replies] Last: Go go Google auto translate! (by firedraco)
need some vector clarification
 
I want to make a 20 questions type game. The user thinks of a number between 1 and 100 and by asking questions like "is it even", "is it evenly divisible by fiv...
[3 replies] Last: If it cannot or should not be implemented using a binary search, then ... (by PanGalactic)
allocation of array object
 
Hallo everyone. i just wanted to ask if it is possible to create following allocation. static JobOptions joblist ; for (int i = 0; i< 100i++){ delete ...
[16 replies] Last: thanks a lot kbw. I am trying now to implement it. hopefully i wou... (by guilains)
double linked list
 
im trying to create a doublely linked list of objects and am having trouble getting it to actually insert the data. the program runs but seg faults every time i...
[2 replies] Last: also you are missing on of the closing braces of the find function. pl... (by bluecoder)
Folder check
 
Hi guys I am developing a program for printing serial. But i am stuck on how to detect if folder is existing. Sample folder name is "C:\\PrintLogs" This f...
[6 replies] Last: Guys thanks so much for all your feedback. I already fixed my problem... (by petit009)
Automatic email
 
I've been looking for a reasonably simple way of automatically sending files to an email account (at the top of the hour for example) using C++. If anyone knows...
[1 reply] : http://lmgtfy.com/?q=c%2B%2B+mail+library&l=1 (by lloydchristmas759)
by leockl
How to read multiple text files into MS SQL Server using C++?
 
I am using MS SQL Server 2008 Express and Visual C++ 2008 Express. I have googled around the net and found that MS SQL Server 2008 Express does not have SSI...
[no replies]
visual studio 2008 how to make separate files
 
I have a c++ file with several functions in it. I would like to put a function in a separate file. I mean, how to include a cpp file? Any help will b...
[1 reply] : header files is the answer http://cplusplus.com/forum/articles/10627/... (by blackcoder41)
Destructor
 
I construct a 2D array Space**_board as follow enum Space {RedDisc, YellowDisc, Empty}; Space **_board; ConnectN::ConnectN(int n){ _board= new Space* ; ...
[9 replies] Last: It has nothing to do with your destructor. You're stepping out of b... (by Disch)
How to get the .* from a float
 
How can you get everything in a floating point number from after the point? E.g. if you had the float 5.8, how could you store that as two integer numbers wi...
[6 replies] Last: oh whoops. Yeah you did say that. That's what I get for not readin... (by Disch)
simulation command "Type" by C
 
i need simulation command "Type" by C .Can you help me? Thank you
[5 replies] Last: I believe type is Windows' cat (when used for printing). (by helios)
Doubly Linked List Check
 
I am working on converting a singly linked list to a doubly linked list. I think I'm finished but since I've never worked with these before, how can I know if e...
[1 reply] : Hi Titanflyer, I hope you will not be upset if I explain what seems... (by CorrodedCoder)
by benixo
Getting Data from Files
 
Hello, I'm working on a project that reads a .txt file containing -Employees' ID -Employees' Last Name -Employees' First Name -Employees' Hourly Wage ...
[2 replies] Last: aaah delimiter. -__- I feel dumb now lol, anyways thanks (by benixo)
defining a vector of template class
 
Hi everyone, I'm trying to define a vector that contains a template class. I create the class, then I create two objects from it (to validate) and then I wan...
[5 replies] Last: it helped Duoas, the code complie perfectly and it works. Thank you so... (by anotheruser)
Got stuck in input, output write in file and play with upper/ lower case
 
This one can be compiled, but run out of memory main.cpp void main() { ifstream input("Tld.txt"); ofstream output("Tlda.txt"); while ( !input.eof()...
[1 reply] : And you expect who to read that mess? 1. Don't use void main(); mai... (by chrisname)
by hminga
how much memory Linux Fedora allocate to user
 
I am using Linux fedora to which I log in from terminal. My program involves 2 dim integer array of 8124 size. As i am using this dimension as data member and a...
[1 reply] : Sounds like your program is in an infinite loop. (by jsmith)
Compare and Match Intergers in 2 Array
 
yas
[1 reply] : 1. Your program does compare and match correctly. Whether it work in a... (by serge)
Compiles yet does not execute.
 
Hey guys i get an error that says "variable "total" cannot be initialized because it's not defined." or something along those lines. here is my code: // Ass...
[13 replies] Last: I think this is also the way !!!! #include <iostream> #include <io... (by bluecoder)
I want to use a vector string class, but troubling in compile
 
#include <iostream> #include <string> #include <vector> using namespace std; class Subdomain { public: // Default constructor Subdomain() { } ...
[6 replies] Last: There's no such thing as a string vector class. You mean a vector of s... (by tummychow)
February 2010 Pages: 1... 34567... 21
  Archived months: [jan2010] [mar2010]

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