Beginners - September 2009 (Page 10)

Stuck on "Digit Extractor"
 
Ok, I asked this question last week, and got the code started, im just confused how to keep it going. The program is supposed to ask you to enter a five di...
[2 replies] Last: ok. I figured this out! (by BrassMonkey1010)
Object Characteristics
 
I recently learned that OBJECTS in OOP are supposed to somehow be in conformity in some manner or way with the physical things about which they are supposed to ...
[1 reply] : All that means is that the C++ classes you create should represent tan... (by jsmith)
Looking for a tutor
 
Hello i am new to C++ and i need a tutor somewhere in the Annarbor Michigan area. The reason is my teacher is a non native English speaker and i can't grasp a...
[2 replies] Last: ahmunre, you most likely won't find a private tutor in your area even ... (by closed account S6k9GNh0)
play small sound files through c++
 
Hey all! I have a 3-4 sec piece of alarm sound (system failure) and i want to play it through c++ on windows. Im making a console app, and when something fai...
[5 replies] Last: A popular solution is to use the SFML library, SDL, etc. libraries. Fo... (by closed account S6k9GNh0)
by Duncan
What do you think of this design? Too much dynamic memory?
 
Hi guys. I've started to adopt this way of designing my Graphical applications. I have a Screen class (which is a singleton) which has an std::vector of Element...
[4 replies] Last: Thanks for the advice guys! I was thinking I'd probably have to go tha... (by Duncan)
by mzd72
Network
 
I am looking for network programming ebook for visual C++ 2008 help me
[2 replies] Last: Please don't start another thread when you have already asked the ques... (by closed account z05DSL3A)
Complexity
 
Please help me to answer this question. Why complexity of bubble sort is O(n 2 ) and quicksort is O(nlog 2 n)? and what about complexity of cocktail shaker sort...
[1 reply] : Complexity of sorting algorithms is always defined by the number of co... (by jsmith)
by CD4
structures
 
hello, i m a newbie and i coded a structure as followes.. #include<iostream> #include<string> using namespace std; #define n_employee 5 struct databas...
[4 replies] Last: thaks screw :-) (by CD4)
Stuck on a project don't know what to do next
 
So I'm working on an assignment and I am out of ideas I think I'm making this more complicated than it needs to be can someone help me figure out what to do nex...
[2 replies] Last: :) I forgot the GPA computing. like this: float CollegeStud... (by screw)
by freeza
starting biginner
 
hello first off i know my spelling is bad but i really want to learn c++. my situation is i asked a friend to write a program for me, he said that i real...
[2 replies] Last: The tutorial should help you: http://www.cplusplus.com/doc/tutorial/ (by Bazzy)
HOW TO SEARCH A NODE IN A LINKED LIST???
 
Can someone help me on how to create a function in searching a node in C++.... plsss.. i'm doing a case study of mine so i need it.. i wish someone answer m...
[1 reply] : If you are using a linked list which can work with STL, you can use pr... (by Bazzy)
An embarising linking question
 
I'm trying to write a C++ program in linux, using nano on Gentoo. I really only just started with this project, and have looked everywhere for the info I nee...
[8 replies] Last: thx, this is what I wanted to know (by feeder74)
by thokra
How to restrict possible types for a template?
 
Hey guys! I'm currently writing some classes for use in a minimal radiosity system. Among these, there is an indispensable class for representing three-dimen...
[6 replies] Last: Duoas: I agree with your concerns about too restrictive design choices... (by thokra)
Error
 
When I build it it says; Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped when i start it without debugging it gives me an error Debug Error! Run...
[3 replies] Last: ok thank you both (by ComputerGeek123)
str+vectors
 
how do i access vector data within a structure.? eg. struct coolstr { vector<int> var; }; ofstream output_file("test1.txt"); if (!output_file.fail())...
[2 replies] Last: The reason you are getting that error is because "coolstr" is a type, ... (by firedraco)
by jkryz
boost question
 
What is boost trying to tell me here? I have a regular expression that is creating an exception. #6 0x0000002a956fb842 in boost::re_detail::perl_matcher<__g...
[2 replies] Last: Did you catch the exception and print it out? (by jsmith)
cin.ignore() not working
 
#include <iostream> #include <time.h> #include <string> using namespace std; int main () { time_t start,end; string name; double dif; ...
[3 replies] Last: Basically, if you're workign with string objects use eker's example: ... (by mcleano)
itoa
 
-------------------------------------------------------------------------------- can someone post how to implement itoa function for radix 16? char* itoa(...
[9 replies] Last: int i = 5; cout << std::setw( 2 ) << std::setfill ('0' ) << std::hex ... (by jsmith)
by epb
"Undefined symbols" compiler error
 
Hi, I am trying out C++ with a small hello world-program: #include <iostream> using namespace std; int main (int argc, char **argv) { cout << "He...
[7 replies] Last: g++ is just a frontend of gcc that automatically links against the c++... (by jsmith)
Suggestions for my project?
 
Hey all, I am fairly new with C++ and I registered here to ask for suggestions on how I can create my project. I proposed to my professor that I will create ...
[17 replies] Last: for (ctr = 1; ctr>n ; ctr++) The for loop runs until the middle con... (by jsmith)
September 2009 Pages: 1... 89101112... 23
  Archived months: [aug2009] [oct2009]

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