General C++ Programming - November 2011 (Page 33)

Help writing program?
 
This is what I have to do... Write a program that determines which of 5 geographic regions within a major city (north, south, east, west, and central) had th...
[11 replies] Last: Ah! Okay...I tried that but it gave me an error...but I think I was do... (by KaraPardue)
by Bradd
Program is supposed to find the Uppercase letters and give their total in a sentence... NEED HELP AS SOON AS POSSIBLE
 
// Program CountUC counts the number of uppercase letters // on a line. #include <iostream> using namespace std; bool IsUppercase(char); int main () { ch...
[9 replies] Last: Thanks a BILLION!!! so all I needed to do from my original was remove ... (by Bradd)
by evb
LNK2001: unresolved external symbol
 
Can someone tell me why my linker is choking on this: #include "StdAfx.h" #include <stdlib.h> struct RAPVAR_READ_NAME_RESP_TYPE {}; typedef struct RAPVA...
[7 replies] Last: BRILLIANT!!!!! I found the missing bit. I was looking for the proble... (by evb)
Map of class objects
 
I am attempting to create a class that holds a map of objects of another class, as seen below: class roster { public: protected: private: ...
[1 reply] : You must forward declare the rosterMember class. See http://www.learn... (by webJose)
silly question, how does compiler threat blank lines?
 
hi, I hope this isn't the most patetic question on the whole web lol, but I would just like to know a little more bout how compiler does exacly threat them and ...
[2 replies] Last: thaks for info Disch, that was easy to follow :) (by codekiddy)
Asteroids
 
Hey all, I'm going to be making a basic asteroids type game. I've never made a game before so it's gonna be a challenge but I think I can handle it. What I'm no...
[no replies]
by wuddup
Copy Constructor for Array
 
Hi, this has been bugging me forever. I've tried searching but unable to get the right info for this. So I'm trying to implement my copy constructor for an a...
[4 replies] Last: hi, don't take me wrong but it would be better if you paste both, clas... (by codekiddy)
Static Members
 
I'm attempting to create a logger class which has a static string vector. This way multiple instances of the logger can add strings to the same shared vector wi...
[2 replies] Last: Ah ok. Yeah I came across that solution elsewhere but I kept putting i... (by Deftwun)
stuck need help
 
#include<iostream> #include<iomanip> using namespace std; class tabungan { double saldo; int norek; char nama ; public : tabungan(); void ge...
[no replies]
by hass
plz help(Airline Reservation System)i really stuck
 
plz help(Airline Reservation System)i really stuck, #include <iostream> #include <cctype> #include <string> #include <cstring> using namespace std; ...
[3 replies] Last: Line 26: your array is defined seatArray but your functions dont lo... (by brianacton)
Switch Statement Problem
 
Using switch statement, how can i create a program that ask the user to enter choices 1,2 or 3 only and do the problem below? SAMPLE OUTPUT *********CHOICES...
[3 replies] Last: Simple switch statements are easy enough to write. Have you written an... (by hbjgd)
Problem using lists
 
Hi everyone. I have a little bit of a problem. My assignment is to create an arbitrary genealogic tree using lists in C. The entry data is from a text file unde...
[no replies]
Computting Equivalent Resistance
 
Hey everyone, I am struggling with one of my homework problems for my programming class. Here is what I am asked to do : Design a program in C using a one-dimen...
[2 replies] Last: For one, I don't think i can be equal to 1 && two. Maybe you meant OR,... (by whitenite1)
by kcbob
assign char array to string array
 
how can i go about assigning all of the values in char array to one element in string array
[9 replies] Last: SUCCESS!!! Thank you webJose! (by kcbob)
writing PIDs using pthreads
 
I need to write a program that creates 2 threads and writes their PIDs into a file each other time. as in pid a, pid b, pid a, pid b etc. into the file. #i...
[no replies]
How do C++ recognize the exact memory space when using DELETE?
 
I know C++ offers a powerful tool to dynamically assign and destroy memory space. But I'm curious how it works. For example, for the code: int *a,*b; a = n...
[5 replies] Last: Many thanks~ I learnt a lot. :-) (by Richard He)
check validity by using loop
 
I want to write a programme that the valid input is A,B,C,a,b or c. if the user input other letters, the programme will require the user to input the letter ag...
[1 reply] : Use toupper or tolower with the letter so that you can halve the lengt... (by Albatross)
by hass
hey need
 
need a help with looping
[3 replies] Last: Are you asking how to use loops? Go to this page: http://www.cplusplus... (by Stupebrett)
QR-Code Generation How to?
 
Hello everyone i though if i could make a QR-Code Generation that would be very very cool. but i don't know how. Can you guys tell me how can i code it? i reall...
[9 replies] Last: thank you soooo much CodeMonkey, that was very very helpful. also than... (by Fantasy)
Selection sort problem
 
I can not seem to get this selection sort program to work. #include <iostream> using std::cout; using std::endl; #include <cstdlib> using ...
[2 replies] Last: With some modification #include <iostream> #include <cstdlib> #incl... (by bluecoder)
November 2011 Pages: 1... 3132333435... 47
  Archived months: [oct2011] [dec2011]

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