General C++ Programming - February 2013 (Page 17)

Stroustrup's GUI Interface Library Question
 
I am reading "Programming Principles and Practice Using C++" by Bjarne Stroustrup. I am currently on...
[4 replies] Last: Thanks again! (by benbalach)
Abstract Class and Virtual Function
 
I have this header file called Shape.h containing these function declarations. and a Shape.cpp which...
[8 replies] Last: As for constructors then you could define them the following way ... (by vlad from moscow)
How do you test a compare function with a parameter that is a blank string?
 
Hi, I'm stuck on the last step of my lab. It is asking us to Modify your code by adding your own ...
[2 replies] Last: Your function myStrCmp is invalid. It compares only first characters ... (by vlad from moscow)
Input issue
 
Hi guys, Working on a little stub program for a console rpg. However, I am new to the #include <...
[2 replies] Last: Thanks whitenite1, it works splendidly after I initialize "collision".... (by toomanystars)
Developing a Desktop Application
 
I want to develop a Desktop application in which user can store the values in database and user can ...
[1 reply] : Is it possible in c++ Yes. Please let me know how to do it. You ... (by MiiNiPaa)
error messages
 
Hi Can someone help? #include <iostream> using namespace std; int main( ) { cout << "Hello w...
[15 replies] Last: it could if you explicitly tell your compiler that it is the c++ file.... (by MiiNiPaa)
by Phiru
I want to sort elements in vector
 
myData class has int id, char* name; And I push_back some myData class like this. myData *a1 =...
[3 replies] Last: solved it!! Thanks All!!! (by Phiru)
search the queue sizes in a vector
 
hello, i have a paradigm where a integer before gets enqueued to a queue, the loop of queues in a ve...
[13 replies] Last: @cire #include <vector> #include <queue> std::size_t min_index = 0;... (by Rahul kumar S)
by kohlh
accessing directorys with fstream
 
working on boiler plate stuff to access a directory and stick the files in a vector here is the code...
[no replies]
Debug Error When Deleting Dynamic Array
 
I get this error when I'm attempting to delete an array. I'm new to dynamic arrays, and from what I ...
[3 replies] Last: Increasing size2 in your loop is not going to increase the amount of m... (by cire)
SMTP help
 
Guys I am trying To send a mail using C++ code i found from the net , when i compiled it it says ...
[3 replies] Last: The header files you are using that give you the functions and classes... (by ModShop)
conio.h
 
What functions are in this library? I want to make a ciphering program with this.
[2 replies] Last: I would suggest curses over conio any day of the week. (by closed account S6k9GNh0)
GCC Compiler Help!
 
I have use GCC a lot in the past, and it's practically the only compiler I use.. However, the libra...
[4 replies] Last: In that case, all I can say is that the linker can't find the definiti... (by Peter87)
by EeAA
selection sort for nondecreasing order input
 
Question: What is the efficiency and big O of the selection sort algorithm when the input happens to...
[2 replies] Last: You recall correctly. The big O of an algorithm is the upper bounds o... (by sysopfb)
Assignment Statements
 
I am suppose to write an Assignment statement for the following operation..... 1.) Stores the ASC...
[1 reply] : You can directly assign the char to an int since you just want ASCII. (by sysopfb)
Warning : '<' signed/unsigned incompatibility error
 
Hi all! I'm really brand new to C++ and I'm currently learning it for fun. I'm working on prototype...
[3 replies] Last: Thanks to both of you! ☺ (by Anthony973)
by Skuzzi
Large numbers
 
How would I by any means print out the result of one number being added by two numbers 999999 times,...
[2 replies] Last: i would suggest using GMP http://gmplib.org/ (by K0T4K0t4)
Find the number of islands in a given matrix and area of every island
 
Dear, I am counting the number of islands in a given matrix and try to find the area of every isl...
[no replies]
Basic Program Help
 
I'm at a loss, I can't for the life of me understand what this question is asking, and my assumption...
[5 replies] Last: Wow, thank you! I was stressing so much I think I get it now I don't k... (by Ursad0n)
Scripting
 
What is this? I have code::blocks 12.11 and there is a scripting console but I don't know how to use...
[no replies]
February 2013 Pages: 1... 1516171819... 43
  Archived months: [jan2013] [mar2013]

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