cplusplus.com
C++ : Forum : General C++ Programming
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


General C++ Programming

by admin
news Welcome to this board! closed
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
post m = min(v1, v2); if (m != v1 && m != v2) cout << "Help!!!";
 
Hi guys. I was writing a simple program that performs an event-driven modelling of customers que an...
[1 reply] : Floating point comparisons? Those are tricky :) http://floating-point... (by Moschops)
post Array of structures
 
Hi there everyone, I have tried searching everywhere for an answer to my question, but I cannot f...
[19 replies] Last: @flyer53 If you wish to use a std::string with the windows api, strin... (by sloppy9)
by ajdin1
question Unix System Calls
 
Hello I need help on writing a program using system calls that changes the permissions on a file. Th...
[2 replies] Last: That helps a lot i know i wil use that and the stat but the hard thing... (by ajdin1)
post iterator not working (1,2,3)
 
This is by far the weirdest bug I've ever encountered. It seems like the for statement is broken (...
[40 replies] Last: Nice you figured it out =) (by clanmjc)
solved Strange linker error with extern variables
 
I have a header that declares a set of variables with the extern keyword. Then I have a cpp file re...
[8 replies] Last: Maybe you just needed to clean and rebuild the entire project? ;) (by L B)
post coding ciphers
 
This is probably going to be a stupid question,but im going to ask anyway.For a homework,im supposed...
[3 replies] Last: well, what kind of cipher do you want to implement? there are differen... (by Vins3Xtreme)
by yayo
post Tokens
 
Hallo, I try to read the content of a file and get the tokens from the file. I already implemente...
[6 replies] Last: Use a variabile 'char c' and compare its value with '_' . (by Vins3Xtreme)
post logistics of text twist game?
 
I am making a text twist game for my c++ class, and i had a couple fo quesion as to how it worked. A...
[no replies]
post Link a C++ to a webpage
 
Please, I have an already made application and I want to link it to a webpage so that the input data...
[1 reply] : Use a library. For example: http://lacewing-project.org/docs/webserver... (by L B)
solved printing a vector of pointers (1,2)
 
in my class, i wish to print a vector of objects via pointers, so that i can add certain functions l...
[20 replies] Last: the only thing i think is missing, is that x doesnt have an initial va... (by Xendraw)
post inserting the string pointer in the vector and displaying the value
 
Hi All , I have problem with the code as , i am trying to insert the string in the vector i am...
[6 replies] Last: Dereferencing the iterator returns a pointer to a std::string. You nee... (by L B)
by Tigger
post Fill array
 
At first I wanted the user to input the number of elements in the array, but I couldn't get that so ...
[3 replies] Last: you can set the return value of FillArray() with the count of number r... (by Vins3Xtreme)
post help with a bug in a link list
 
So I have created this link list for a class project. It seem to take all the data ok. The problem a...
[6 replies] Last: Which error code? Since you have break points, you should be able to ... (by clanmjc)
post Rvalue references
 
Hello everybody. I wrote this code, just to see if I can correctly implement the move constructor ...
[10 replies] Last: [quote=JLBorges]Ideally, move constructors, move assignment operators,... (by Cubbi)
post calculating employees salary
 
Guys here is question. write a program that will calculate salary for empleyes. use two overloaded ...
[1 reply] : Step 1: Create project... Step 2: Create a function named calcSalary... (by clanmjc)
post Farenheight and Celsius (Negative Ints?)
 
I'm having trouble figuring out what's not right with my program. The code is: #include <iostream.h...
[1 reply] : You can't use math syntax here, (x)(y) does not mean (x) * (y). Also 5... (by xerzi)
by Win32
solved Switch Statment Input Check Help Please
 
Hi I'm a programming student working on this sample restaurant menu. The problem im having is when ...
[3 replies] Last: Thank you so much (Functions are litteraly the lecture for tonight) so... (by Win32)
question Help me understand the code please!
 
Problem Statement The greatest king of all times, Michael IV, is going to make big changes in ...
[3 replies] Last: Why wait for an answer here when you have Google??? http://www.google... (by cnoeval)
post C++ template and inheritance
 
Hi, I'm not sure how to go about this one. I have a class "Grid", which has a 2D vector of "GridTil...
[1 reply] : Looks fine, but you are aware of the following? Grid<derived> has no ... (by mik2718)
Pages: 123... 50
  Archived months: [dec2011]