Beginners - August 2010 (Page 12)

Dev C++ not working fine
 
So I downloaded Dev C++ which is very hard to use since at our Programming class, we use MS Visual S...
[14 replies] Last: okay!i was out..i think you can ask user to enter some value to exit.e... (by Mazd)
calculator hel p please
 
i'm completely new to c++, let alone used to using multiple functions.. my friend reccomended i make...
[3 replies] Last: probably break;, return 0;, or just, dont write a case 0 (by Skillless)
by daveD
Array of function pointers
 
Hi, I have a list of integers. I have to loop through list and depending on the value of the inte...
[3 replies] Last: The answer is only **Maybe**. If the cases are ordered sequentially... (by jsmith)
by kaduuk
Check if return value is 1
 
Hey guys, I've been wondering, if it's possible to check the return value in this function: ...
[7 replies] Last: hey guys, it worked! :) Thanks all of you for replying and helping ... (by kaduuk)
Number Game Issue
 
I've made a game where the user thinks of a number (not inputted) and the computer tries to guess th...
[11 replies] Last: I suggest you to try to do a lot of "exercise" programs like these, be... (by Fresh Grass)
why can't I output two files?
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main(i...
[8 replies] Last: yes ,youare right.thank you. but.do you notice that the copy.htm?... (by peripheral)
program samples from a book
 
Hello, i'm gradually working through 'C++ programming -program design and data structures' 4th edit...
[3 replies] Last: I agree with jaeger138, I also just started programming very recently ... (by ccdwiu)
by wtf
c++ timer not precise enuogh, or I'm doing something wrong
 
I have: double start, finish, elapsed; start = time(NULL); puzzle.solve(); end = time(NULL); ...
[3 replies] Last: whoops. XD Good call. (by Disch)
using the library iomanip
 
Hi guys, i have a question regarding the use of iomanip library. say i have a const double num5 = ...
[4 replies] Last: i am sorry if its unclear... i meant: const double num5 = 34.89... (by eugenemongoose88)
Factorial, whats wrong?
 
#include <iostream> using namespace std; int factorial(int); int n; string negative = "Inpu...
[2 replies] Last: Thank you, I subtracted the strings, put those conditionals in the mai... (by galadys)
by bobito
Why need a copy ctor inside a vector<T> (3)
 
Hi, can anyone help me why a copy constructor is needed? I was thinking why not use all default cons...
[13 replies] Last: Thanks again to the replies @jsmith I agree with you. I think that... (by bobito)
Question on a code segment
 
I have to update an existing code segment, which includes the following part: int num ={0}; int...
[3 replies] Last: The s - 'a' expression is meant to convert whatever value a is in ... (by filipe)
Reading mp3 tags
 
dgsdhdrsh
[10 replies] Last: Damn alright we'll i have upgraded my code a lot i have around %40 now... (by jackson)
Sound (wave) Detection
 
Hi, thank you for entering and trying to help me. What I need to do is make an application that ope...
[4 replies] Last: I am keeping project goals realistic What on Earth is so unrealis... (by Disch)
How to Design Object-oriented Program?
 
um,this question contains so many aspects. So i want to learn some topics about how to design Class...
[3 replies] Last: Download tutorial file of this site. (pdf format) It''s very good. (by majidkamali1370)
Assertion given for erase() vector function
 
This piece of code is meant to erase an item of choice from a vector but for some reason every time ...
[6 replies] Last: Okay, I haven't moved onto streams and conversion as such yet so I'll ... (by jaeger138)
String Producing Strange Result
 
How would I combine user input of multiple words into one string? I'm creating a program that asks u...
[5 replies] Last: Well I've fixed that particular issue, it was because I was mixing cin... (by jaeger138)
Making a *Pointer point to a &(*pointer)
 
I'm trying to make a pointer point towards the address of another pointer, the youtube guy XOAX said...
[9 replies] Last: Compiled, and this line cout << "ipPtr points to &iAnotherpPtr (wh... (by Skillless)
by spamme
class :: return value (void)
 
Hello! I want to create a general data type "Parameter", which is used in a list "ParameterList" ...
[3 replies] Last: Depending on what is your final goal, we could come up with a solution... (by R0mai)
by Kyon
Smart Pointers
 
Nowhere documentated lie the smart pointers. I read quite a lot of topics about them, but I never sa...
[7 replies] Last: explicit is mainly to prevent you from accidentally reassigning a poin... (by Disch)
August 2010 Pages: 1... 1011121314... 28
  Archived months: [jul2010] [sep2010]

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