Beginners - December 2011 (Page 19)

by qasir
c code
 
i want to code of this values 1 2 4 8 16 32
[5 replies] Last: a = a*2; Real men shift bits! (by Gaminic)
cstring problom
 
Im having a bit of trouble here. The program below allows the user to enter a word, if that word end...
[5 replies] Last: That did the trick, cheers (by Declan Murphy)
Adding a library to g++
 
Hi I'm looking to add a library to g++ which would have the following files. I don't know where t...
[no replies]
[Help me] "float t" to set an initial value of 0
 
Hi, I'm having a little problem with a private variable in a class I am working on for practice. ...
[3 replies] Last: create a constructor and initialize the variables in there (by Peter87)
Cell Phone Bill
 
Hey guys this is my first time posting so please bear with me. So I have this assignment for my C...
[6 replies] Last: void GetData(int ages , int capacity, int& n) // Given: access to a... (by mike3334)
help me again!!!!
 
can someone please tell me what is include "stdafx.h"???
[1 reply] : http://en.wikipedia.org/wiki/Precompiled_header#stdafx.h (by hamsterman)
Concatenating Classes with Map
 
I'm having trouble with the following code: #include <iostream> #include <map> using namespa...
[2 replies] Last: It worked. Thanks for the help, i appreciate it. (by Guildor)
New here
 
hello all,over the past several years from time to time I dig into the basics of programming.i under...
[11 replies] Last: like for example under the selection control example you provided you... (by Lynx876)
Trying to sort bits and pieces of a user-inputted string into separate arrays
 
The purpose of this program is to get a user to input a random string of characters and then sort th...
[2 replies] Last: Yep, that definitely worked. I should have realized I needed a counter... (by tdouglas)
matrix
 
Sort array of n x m integers on spiral way from outside to inside to a n x m matrix Export results t...
[5 replies] Last: You're not going to get anywhere if you try to do everything at the sa... (by hamsterman)
AM I ON THE RIGHT TRACK DOES THIS WORK OR IS IT MY IMAGINATION?!?
 
Can someone help me out here or at least put me on the right path to figuring this question out... ...
[10 replies] Last: just making sure im not missing anything (by Aramil of Elixia)
How do I make an icon for my program?
 
Hi I'm really new to C++, and have a question. I'm wondering - is there a way (that isn't incredi...
[3 replies] Last: You should get Code::Blocks, it is simple and free (and that is the on... (by NanoBytes)
by Azat
Help me!!!
 
The length of segment (Time: 1 sec. Memory: 16 MB Difficulty: 12%) input The input file contains t...
[2 replies] Last: Lol, that is a pretty funny way to ask a question (by NanoBytes)
seeing if only the number entered i sPrime
 
Hi i'm looking at all the codes for prime numbers, but i dont want it to list all the other numbers ...
[5 replies] Last: i got it all working now. thx! (by maharris)
Exceptions
 
I am working on a hardware inventory, using struct and reading the file to a vector. I also sort an...
[2 replies] Last: Generally, you put a try before anything that has to be converted, suc... (by ResidentBiscuit)
Inheritance / Virtual methods
 
Hi i have two classes class a and class b. in class a i have a method called borrow() which is quite...
[5 replies] Last: You don't implement borrow in the derived class. You just adjust whate... (by ne555)
help me!!!!
 
i'm trying to do this coding but i don't know how to change it based on the error statement that had...
[5 replies] Last: http://www.cplusplus.com/articles/z13hAqkS/ (by PanGalactic)
help me to find the lowest average through find_lowest() function.
 
//i had found the highest average mark through find_highest() function. //i use the same method to ...
[2 replies] Last: http://www.cplusplus.com/articles/z13hAqkS/ (by PanGalactic)
by Gmc278
Triangle program
 
Hello all, first off I'm new here and am quite inexperienced when it comes to code, but so far I am ...
[4 replies] Last: hyp = sqrt (pow (adj,2) + pow (opp,2)); This is only correct for ri... (by vin)
by zargy
My thing isn't working!
 
I'm trying to create a simple phone number program. It doesn't have much functionality yet, but I'l...
[2 replies] Last: Change void printPhoneNumbers() to void printPhoneNumbers(strin... (by IceThatJaw)
December 2011 Pages: 1... 1718192021... 47
  Archived months: [nov2011] [jan2012]

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