General C++ Programming - September 2011 (Page 18)

by Gldnbr
DEC to BCD (conversion)
 
I have to convert a decimal number (1-255) to packed binary-coded decimal. I have the idea of how...
[9 replies] Last: It doesn't matter what all the getline () and stringstream stuff do... (by Duthomhas)
by Prabu
libcurl
 
prabu471@gmail.com Hi,I am Complete beginner to C++ language.I am using NetBeans IDE 7.0 to w...
[4 replies] Last: yes,am sure that i have specified "curl" library. (by Prabu)
How do you read a specific line from a text file
 
I need to read line 180 of a file... I'm having trouble understanding the model from the tutorial...
[8 replies] Last: I used a similar method to that of Disch's...added a count to the whil... (by paulmcco)
collisions at map
 
Hi. I know that an ordinary way to solve the collisions problem in a hash table is by means of a ...
[2 replies] Last: Yes, you're right. I was wrong. I thought than once you insert a pair ... (by luirro777)
Adding/Spawning an Object
 
I've been trying to figure this out for days: how would I go about spawning/adding an object in c++....
[14 replies] Last: Thank you, I never would have known that because without the static I ... (by BrokenSilenceDev)
let's solve this geeks
 
Hello Chaps, Plz do ur best to help me I am a bit frustrated, can we solve this check function ??...
[1 reply] : Normally people won't outright give you answers anyways, but name call... (by ModShop)
Newton's Cubic Equation Solver code
 
Hello, everybody. I'm trying to change some code from a library when stepped on a implementation ...
[no replies]
Min Not Working
 
double sum = 0; double max = 0; double min = 0; do { myFile >> x; sum += x; ...
[4 replies] Last: Awesome, that worked like a charm. (by Winston12)
Error with Expression
 
I am trying to calculate the average and when I use double sum = 0; double sum += x; double averag...
[9 replies] Last: Another hitch though, when the program runs, I get the average only wh... (by Winston12)
seai/o device
 
please help i am looooooozin sleep over this I am looking for some software that will count the ...
[3 replies] Last: I might be asking that. In other words, how would siocmd count the pu... (by kooth)
How to use interface types in lists
 
Hi, I'm creating a C++ gui client with FLTK and I need a little help with lists. I have a contain...
[2 replies] Last: Thank you so much! I will try this out immediately. (by MrOnion)
Linker issue.
 
Hi i have brobelm while compiling the program. i`m getting this error: 1>Library.obj : error LNK2...
[1 reply] : It's because you haven't provided a definition for StudentNotFound 's... (by closed account zb0S216C)
Min Max and Average
 
Hello, I am having trouble doing the min, max, and average of a program that takes a file with ab un...
[no replies]
Error lvalue
 
Hello, I am doing a project for college lab that requires taking a random file with a bunch of numbe...
[6 replies] Last: Thanks a bunch! And I'm pretty new to programming, I am only basing h... (by Winston12)
Help in Sorting an Array of strings on the basis of Numbers in the string
 
I have a .txt File that will hold data in the format: Name: Some Name Time: Some Time Scor...
[7 replies] Last: Thanks Both! I am sure I could have designed the class by myself after... (by Nisheeth)
Strange Issue in C code (1,2)
 
I have a strange issue in the following code int* call() { int x = 8; printf("%x \n",&x)...
[23 replies] Last: Exactly. If the behavior was defined, the standard would say, for exam... (by helios)
Weird Seg fault
 
Hello, I'm getting a weird segFault.. I'm stumped on why its happening... here is some of my code m...
[4 replies] Last: Yeah, I got a hacky fix to work. int groundNum = -1; // Create a bla... (by strongdrink)
find_if() in list
 
Hi, i have a ques... is it possible to implement a function, member function of Library, that get...
[2 replies] Last: thnx man, it helped. i have another brobelm while compiling the progr... (by aymanbah)
iterator of nested template
 
In the following simplified code: #include <iostream> #include <list> using namespace std; ...
[2 replies] Last: thank you, that worked :) (by piyushkumar)
Confusing Pointer arithmetic
 
/// \ ARGUMENT STRING unsigned char hex = { 0x2D, 0x6D, 0x20, 0x74, 0x6F, 0x6D, 0x74, 0x6F, 0...
[4 replies] Last: Pointer difference always returns element difference, not byte differe... (by helios)
September 2011 Pages: 1... 1617181920... 31
  Archived months: [aug2011] [oct2011]

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