General C++ Programming - March 2011 (Page 2)

multi-threaded sorting program
 
Hey guys, whats up? I made a program for school that uses 5 different sorting methods and outputs...
[5 replies] Last: Oh... Well, usually, you want to have one sorting algorithm implemen... (by m4ster r0shi)
by rpar
deprecated conversion from string const to char*
 
I am having an error after compiling the program with above warning. i believe i'm doing something w...
[2 replies] Last: thanks Zhuge for quick reply, i understand the why... but dont get it ... (by rpar)
double to float and caused problems
 
I have a project with lots of files. I used double anywhere and now want to make it float by this #...
[3 replies] Last: Search/replace and use a typedef like suggested. #define double float... (by firedraco)
Registration of arguments acquired using variadic templates and tuples unpacking question.
 
Hello, I am currently working on an Event library based on Variadic templates, and I need your expe...
[7 replies] Last: I was not aware of the move C++ technique and Rvalue references (I am ... (by naaokth)
Sentence Tree Program Issues
 
hey everyone, I'm trying to write a program to get a sentence from input, create a tree of the sente...
[2 replies] Last: mind explaining a bit? EDIT: seem to have fixed it(i think) ... (by iiiiaann)
Help me with XOR encryption? (1,2)
 
I need to make a program that asks the user to input a file name, then a key, then an output file na...
[20 replies] Last: it's a useless attempt at ambiguating the results =) It this weren't ... (by ultifinitus)
Converting input to integer on one line
 
Basically, my intention is to do something like this: while (stack.push(cin.get())) { cout ...
[2 replies] Last: That works, but it wasn't exactly what I was looking for. Thanks. ^_^ (by HappyDas)
by ashly
files .ini
 
i want to know how we create files with extensions .ini and how manipulating them in a program? my ...
[5 replies] Last: Thanks a lot PanGalactic you made all the project's classes clear now ... (by ashly)
const reference to stl vector
 
i have a function that takes a reference vector bool checkSum(const vector<int>&,int,int&); I...
[4 replies] Last: vector::begin() is overloaded (one const) and which one is called can ... (by moorecm)
PLEASE HELP ME MAKE MY CODES SHORTER USING FUNCTIONS
 
Hi Guys. I'm just new here. I just want to seek help. We have a project in Visual c++. #inclu...
[4 replies] Last: Try with Question questions ; questions = Question("= CATEGORY: H... (by naaokth)
sscanf help, please :)
 
well then, I'm implementing a serial interface with my arduino and I'm having some trouble parsing a...
[5 replies] Last: You don't need to additionally specify 's' suffix when already using t... (by simeonz)
by nushki
system() function, evoke other programms grom *.cpp
 
Dear All, i need to evoke other program from a *.cpp and i use system() function. i do it in a cy...
[6 replies] Last: this earth - Orion game sounds fun!!! thank you for your reply. It'... (by nushki)
Creating vector of objects.
 
I am writing a program that takes one file and compares its data to that of some bunch of other refe...
[2 replies] Last: Sorry, that's a typo. I'll fix it. Thanks. (by WarPhalange)
by avnis
i need help at figuring this out
 
so here is what i got as of right now //main.cpp #include"city.h" #include<string> #include<i...
[no replies]
Command Line Warnings
 
Lately I've been flipping through graphics programming books trying to get a feel for it but I'...
[no replies]
Problem with function
 
Hi All Can anybody tell me what is wrong with this function. int inputAndValidate(int entranc...
[2 replies] Last: You can only return one value from an function. :/ When you pass vari... (by Albatross)
Newbie here, could use some help :)
 
I am taking an intro to Computer Science and have been doing pretty well so far. Alot of the program...
[14 replies] Last: Programmers don't fall asleep or get tired It's natural for humans t... (by closed account zb0S216C)
c++ dll protection
 
Whats the best way to ensure that a dll written in c++ can only be accessed by "authorized" applicat...
[13 replies] Last: You are wasting your time to do all this super complex stuff. If you ... (by Duthomhas)
problem to link c++ and fortran
 
Hello everyone, I am trying to use a Fortran library in my C++ code. I have already succeeded in ...
[4 replies] Last: Thank you all for your answers. Finally, I have found my mistake. It w... (by nicolas bachelard)
March 2011 Pages: 1234... 31
  Archived months: [feb2011] [apr2011]

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