General C++ Programming - April 2011 (Page 36)

ascending sort using linked list
 
hi guys.. i'm having problem sorting.. the logic was right.. but still i dont get why it doesn't run ... can someone fix dis??? tnx.. void ascending...
[no replies]
extend program to do sorting using bubble sorting
 
here is the coding which will show the highest gpa which it will data from txt file, i dun knw how Modify the below program to sort the students’ GPA in an as...
[2 replies] Last: thank you... above is the reedit one... (by vaanie87)
Socket programing
 
I need to program both client and server application , I have already manage the connection between them and also transmiting information (a struct) between t...
[9 replies] Last: The threads will be worker threads, and request a job from the manager... (by ultifinitus)
making text bold and colored in console program
 
Hi Please don't forget that I'm a beginner. So, please don't making things more complicate for me. :) I have this code and the program is functional. But ...
[6 replies] Last: thank you, I am not that versed in the window api and that is very si... (by Azagaros)
Rank one and two arrays for c++ project
 
I am having trouble comprehending rank one and rank two arrays in my online programming c++ course. I have so far my code for the assignment and the assignment ...
[1 reply] : I don't know where to begin exactly, as an experienced programmer I wo... (by Azagaros)
How to pass a method as parameter to another method [???]
 
Hello, I saw that in C I can pass a function as argument to another function. So, I tried to pass a function as argument to a method, in C++, and I got. For th...
[5 replies] Last: //Example of usage int main() { A a; //declaring object a, fr... (by firedraco)
Help with code
 
I'm stuck with this code.... you will be creating a class that inherits from the class listed below (Person). You are not allowed to modify the class Person. ...
[5 replies] Last: this is using most of your own code, I just cut and pasted and modifie... (by Azagaros)
How do I check that an input is of integer value?
 
I'm trying to write a code that will calculate leap years. I have the fundamental code written and it works fine, but I'm trying to improve my code so that whe...
[8 replies] Last: hmm... slow... lets go through the logic of what you asked. // firs... (by Azagaros)
CString to std::string question
 
I have to convert code from MFC to standart C++. It used to be: time_t lTime; CString time, tmp; time(&lTime); time= "time:"; tmp.Format("%ld", lTime); ...
[1 reply] : This is the problem with using the std::string library. It doesn't th... (by Azagaros)
Naming Conventions
 
I want to get into the habit of using a popular naming convention. I already do macros in uppercase, and then everything else with a mixture of lowercase/capita...
[11 replies] Last: Well "simply firing someone" is a lot easier said than done, and I'd h... (by jsmith)
Problems linking template linked list class
 
I'm writing a linked list class for my computer science class and everything works except I keep getting this error. "Main.obj : error LNK2019: unresolved exte...
[3 replies] Last: I put that before the declaration and it stopped recognizing the clas... (by naraku9333)
What is the future of C++
 
Even though C++ ranks really high in terms of language popularity, I wonder if it is an endangered language with the increasing use of Java that's happening aro...
[6 replies] Last: Thanks for the heads up Duoas, I totally agree. Even though i haven'... (by waqqassheikh)
Distance Traveled
 
n/a
[13 replies] Last: If he posted his code, the teacher would be able to figure it out. ... (by Disch)
by Smitty
Can't Compile. I kep getting an error message on line 5 saying expected intializer??
 
#include "stdDevFns.h" #include <iostream> #include <cmath> using namespace std; // Put the prototype for the function calcStdDev () here bool calcS...
[10 replies] Last: I honestly hope that the more "advanced" features of the report button... (by Albatross)
[Linker error]
 
Hello guys, I have a serious problem here.I am trying to understand why the following code gives so many Linker Errors (about 60!!!). The errors are like: [L...
[8 replies] Last: I think it's something called wxWidgets - for cross platform GUIs. Th... (by anonymous23323124)
Best system design for this problem
 
Hey guys i'll show the code first then explain my problem: Class A { /*Variables required by A, B, C and D */ /*functions required by B and C*/ }; Cl...
[no replies]
Please Help! - Expected while before ( token
 
I'm getting this error on the below code and can't seem to see where i'm going wrong. Please could someone point me in the right direction. Thanks in advance. ...
[2 replies] Last: Use [co de] tags next time. Your problem is that you need a '}' bef... (by firedraco)
Wrapper for File memory mapping destructor
 
Hello guys, I'm creating a wrapper object for the C mmap function that maps file on memory. Actually I'm concerned about how to give the user the option to d...
[6 replies] Last: @coder777 The second concurrent exception may not be directly related ... (by simeonz)
static class in relationship diagram
 
Hi all, I'm in the final tedious stages of the final year project for my degree, and need to express in a relationship diagram that my class 'Node' contains ...
[3 replies] Last: ok...yeah I don't like UML diagrams either but I need to do some for t... (by quirkyusername)
by PiZero
Count pixels in flood fill function
 
Every time i post here for help the answer comes to me :)
[no replies]
April 2011 Pages: 1... 34353637
  Archived months: [mar2011] [may2011]

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