General C++ Programming - November 2010 (Page 19)

Classes
 
Hey guys, i'm having the biggest problem completing my worksheet. Its about classes.. Please help me...
[14 replies] Last: Thanx guys (y) (by tambrwn)
24 hour clock issue.
 
I am writing a program that gives you 4 options of different cities. When a city is selected, you en...
[2 replies] Last: could you elaborate more. how and what step would i add 24 hours, i as... (by Rumbolt24)
removing structures via pointers
 
I'm supposed to write a remove() function to take out some data, however, it seems none of the info ...
[2 replies] Last: So it turns out I made a stupid error (line 76). Sorry for wasting eve... (by Omgimapencil)
Var. not difine
 
/* have the user enter a number (number output has to be number!) for number = start and 0 = end n...
[2 replies] Last: Well, one error is for(int i = number; i = 0; i--) . It's supposed t... (by hamsterman)
boost.asio - change buffer size in HTTP Client example
 
Hi! There's example HTTP Client at http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/example...
[no replies]
C++ printing out all the elements in the list in sorted sequence?
 
Implement a class SortedList as defined by the following skeleton: #define MAX_ITEMS 10 typedef ...
[no replies]
by Kiana
Accessing private members of base functions
 
class Girl { private: int Age; }; class Kiana : public Girl { public: // The ...
[3 replies] Last: I see, thanks! (by Kiana)
Convert System::String to unsigned Char Array
 
I have looked at many fourms and found many theories on the conversion from marshal strings to point...
[no replies]
C++ program for class troubles
 
#include <iostream> using namespace std; int main() { class Student { private: ...
[no replies]
How do I use 2 template parameters?
 
Hello everyone, I would like to know how I can use two template parameters at once. My template-c...
[13 replies] Last: thanks ^^ (by Squall83)
by kratos
placing an unknown int size into a dyanmic array
 
How do I take an integer of unknown size and store each integer (0-9) in a dynamic array. I know how...
[4 replies] Last: It sounds like you are being asked to write your own version of the s... (by Duthomhas)
General C++ question envolving inputs
 
Im new to C++ programming (im currently taking a C++ programming class at my university) and i was w...
[3 replies] Last: You need to google around "C++ serial port". Both C and C++ are not... (by Duthomhas)
by sjeps
Multiple variables inline compare
 
I'd like to do something like this if(a==b==c==d==e){ ... } Of course this won't work, i...
[3 replies] Last: #include <boost/tuple/tuple_comparison.hpp> if( boost::tie( a, b... (by jsmith)
Read last line from data file
 
I have this code to read the last line of a data file: #include <stdlib.h> #include <iostream>...
[1 reply] : How did you compile the g++ version? Is it a Cygwin or a native Windo... (by kbw)
undefined reference to 'isPrime()'
 
I dont know whats wrong with my code. Basically I need to write a boolean function which take an int...
[5 replies] Last: @vsaurabh2: We don't just give solutions to homework assignments. ... (by jsmith)
C++ trouble with a sorted list program?
 
Implement a class SortedList as defined by the following skeleton: #define MAX_ITEMS 10 typedef...
[3 replies] Last: x.comparedTo(values ) What is comparedTo? the basic types are not ob... (by ne555)
How to display all of my prime numbers in this bool function
 
Well so far I managed to show an output but only from the 'main' functions. I have placed the functi...
[5 replies] Last: It needs to display all prime numbers down between 1 to 100 (by bqui5449)
To make a windows application a Service
 
I am working on a WIN32 application which contains simple gui. Is it possible to convert it into ...
[3 replies] Last: A service should be a server in the traditional sense. If you need to... (by kbw)
by Nobun
GDB Debugging problems
 
I had some problems while trying to debug a program. To be simply: the dubugger shows me wrong info...
[no replies]
Weather Program
 
I included my original code down below....Basically I need some input on where to start off. From w...
[1 reply] : Here is what I have done in the past hour. I want to eventually pass i... (by raider94063)
November 2010 Pages: 1... 1718192021
  Archived months: [oct2010] [dec2010]

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