Beginners - October 2010 (Page 5)

Cannot figure out how to code for this table
 
Here's the table Wind Chill Index Table | Temperature MPH | 45 40 35 30 25 20 15 10 5 0 -5 -10 -----------------------------------------------------------...
[2 replies] Last: Well I have the code to where it says there are no errors in it, but i... (by Sariss1990)
USE A STRING AS A NUMBER??
 
hi!!!! i'd like to ask if anyone knows how could i possibly use a string as a number...i mean: i've got something like cin>>word; but if that word is a numbe...
[3 replies] Last: Here's my code explained in greater detail: (firstly, user enters a... (by hamsterman)
How does this constructor work ?
 
Hi there !, Here I am, once more with a rather basic question, I am wondering what does this code do ? class Sales_item { public: //What does *thi...
[3 replies] Last: Oh I see, then I should assume *this inside that constructor is the ... (by joseplusplus)
Desperately need your comments - C++ language
 
Well, hi everybody, I have some problems with one task (C++) which I can not solve. It is quite immidiate, so can anyone solve this for me? Task is: Make...
[2 replies] Last: i'll give u a hint.. #include<iostream> using namespace std; i... (by dandy)
Can you "reference" variables?
 
(Title is a poor description - not talking about reference parameters, but not really sure what word to use to describe what I'm looking for.) I'm writing a ...
[1 reply] : What you're looking for is a map: map<string,int> compressedRecord... (by Athar)
reading memory from other window programs, and using their values
 
Hello, I've made a simple poker program that takes statistical input from the player and plugs these values into a specific algorithm to determine if the player...
[1 reply] : Trying to access memory not owned by your process is generally forbidd... (by Pax)
by DBarzo
unresolved external symbol mixing c/c++ code
 
Hi, I know that it it a repetitive question over the network, but I cannot understand why my link fails. I have a c++ static lib which use a lot of thirdpar...
[1 reply] : Try extern "C" { #include "your_third_party_C_lib_headers" } ... (by Bazzy)
New to c++, needing assistance
 
All, Please help. I am new to c++ at college. I have no programming experience. This is a program I am working and not having any luck. I am to display grades ...
[1 reply] : Please use code tags. And you'll need to be more specific. What exa... (by Zhuge)
command line arguments
 
im trying to get my program to take a string from the user and split it up into arguments and then have the program execute code depending on what the first arg...
[3 replies] Last: it gives the name of the file and nothing that ive entered into the c... (by Disch)
exit
 
I'm a biginner, I made program that chose wanna continue or exit, but I don't konw how to make the program close when I chose "no"/"n" here is my code : cha...
[5 replies] Last: sry OHGxLeetGamerxOHG, is this work in visual C++ 2008 express edition... (by wekantro37)
Writing an array to an outfile (1,2)
 
Please bear with me as I have to be honest and say this isn't my best subject and I'm struggling with some aspect of it. What I need to do is to get test sco...
[21 replies] Last: on line 67: for (category=0; category <= maxCategory; category++) ... (by kyle11778)
Too much output & switching of name?
 
/* * room.cpp * * Created on: 21/10/2010 * Author: User */ #include <iostream> #include <string> using namespace std; //declaration section ...
[4 replies] Last: Hi filipe, thanks for the valuable comment. Below is the updated code... (by jellyfish)
by PiZero
How does it work?
 
Hey im new to programming and new to C. Im a 1st year university student and i caught onto C quite quickly. I've been doing some shapes lately and i want to kno...
[1 reply] : if you show us a for loop that draws a shape, we can explain how it wo... (by Disch)
if / while / loops (beginning beginner)
 
I'm writing a simple program to tell me the area of figures give their dimensions, but in an attempt to make a tad more useful I got myself into a hole. I'm not...
[5 replies] Last: The "while" will execute whatever is inside the "while" until the cond... (by Sericet)
INT checking
 
Hi! I have question. For char types I can check with anscii table all that I need. But have can I check for int variables and arrays that I have typed legal...
[19 replies] Last: Thank you for the topic, and Duoas, thanks for using cin.clear() and c... (by LydiaF)
strcmp() causes segfault. My implementation == crap?
 
I'm having some trouble with a system tool I'm trying to create for my linux system. Basically, my laptop has a button to toggle my touchpad on and off, but whe...
[15 replies] Last: Well, after some finishing touches, testing and debugging, I have a re... (by LupusNoctu)
by m au
make member function of class that returns the no. of an array
 
Hi guys! I want some help with my class here! I created a class that takes an input file with numbers (.dat or .txt)! The problem is that i want to create a sep...
[no replies]
trouble accessing member functions in vectors of objects (1,2)
 
Hi All, I'm writing a short program that uses Bezier Splines and decided to create an object to contain all the integers necessary for each vertex. The ver...
[21 replies] Last: Sorry, had to put this on the backburner for a while. ne555, I do... (by dloghcaz)
directory listing etc
 
I am having trouble finding any functions/objects in the standard C++ libraries for doing things like listing the contents of directories (files, subdirectories...
[3 replies] Last: Here is the specific Boost library for this: http://www.boost.org/doc/... (by Bazzy)
Pointer Interpretation
 
I have a question regarding pointers. I'm trying to follow some code and see a use of pointers that I'm not quite understanding. Below is an example of what...
[2 replies] Last: It looks like I was interpreting it correctly. Huzzah! Thanks. (by ricomoss)
October 2010 Pages: 1... 34567... 42
  Archived months: [sep2010] [nov2010]

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