Beginners - April 2010 (Page 13)

Generating Output File Names on the fly
 
Hey everyone, I am stuck and I keep going around in circles. PROBLEM: I have a program that is reading data from a text file and sorting it into other files,...
[6 replies] Last: For my work around? Yeah that works fine I just don't like it. I am wo... (by Computergeek01)
by amma
template on self defined classes
 
Hi, It's been quite a while since I've actually programmed in C++, during school days. I'm relearning C++ now, so far so good, but I'm struggling with somet...
[2 replies] Last: Brilliant! thanks Disch! (by amma)
Undeclared Identifier w/header file included
 
Well I'm trying to do a little test class to work with vectors holding pointers to objects, but keep running into a problem with the compiler telling me I have ...
[4 replies] Last: Yay scope resolution operators! (by oghmaosiris)
C++ ---> HTML (1,2)
 
HTML files use tags enclosed in angle brackets to denote formatting instructions. For example, <B> indicates bold and <I> indicates italic. If a web browser is ...
[33 replies] Last: Chris: No, I don't. std::fstream and std::string are separate librari... (by Albatross)
by new
finding largest in array
 
I am trying to find the largest number in an array. Please take a look at the code below. I am confused on how exactly to call the numbers stored in the array...
[7 replies] Last: I got it!!!!! Couldn't have done it with everyone's help. Thank yo... (by new)
Turtle functions, where to start
 
/** * \file turtle.h * \brief contains the interface for a turtle graphics object. * * This file contains the interface for a simple turtle class (for ...
[7 replies] Last: The <graphics2.h> is yet another version of the old MS/Borland DOS gra... (by Duthomhas)
by ARWA
compilation error
 
hi every one.iv wroght a program that is perfectly right but when i depug it the compiler says :error link unresolved external symbol void; dose any one now ...
[7 replies] Last: Oops sorry for late reply, yeah * indicates pointer. just read about a... (by blackcoder41)
by qtpan
save to notepad
 
#include <iostream> #include <string> using namespace std; int main() { string *words; int x,ctr; words=new string ; cout<<"...
[1 reply] : I have no idea what you mean by "save those string that I input in not... (by hanst99)
by Gon
convert each letter grade into grade points.
 
Write 2 implementations of a program that will accept letter grades as input from a user and convert each letter grade into grade points I don't know what i ...
[3 replies] Last: arrays would probably be the best solution... (by justAbeginner)
How do I write a clock?
 
I am trying to write a program that asks the user to enter a time of beginning, and a time of ending, and uses these times to calculate a price. How do I write ...
[3 replies] Last: the other thing you can do is ask for 2 dates and 2 hours/minutes/seco... (by justAbeginner)
use of #define for type structures?
 
Hello. Many times I find the use of #define preprocessor macro to define type/data strctures, but I haven't unsertood very well its syntax. As an example here ...
[3 replies] Last: Many things to learn: this is a simple structure initialization... now... (by giohappy)
by Afr0
Reading wchar_t from file?
 
Hi! I'm trying to read a line of wchar_t's from a file. But whatever I do, I cannot seem to be able to read it! // LoadTest.cpp : Defines the entry point ...
[1 reply] : Nevermind. I figured it out! :) (by Afr0)
request URL
 
Hi there. Im working on a project, where i would love to request a URL in my c++ code. The object is to update a homepage by transfering parameters throug...
[1 reply] : bump (by ormsson)
by APCS
Linked List program implementation
 
Hi All, I know this is probably a basic question but I am stuck. I am a function that is passed an integer and matches that integer with a linked list node ...
[3 replies] Last: To save a lot of time to and fro with Qusteions - just post your code ... (by guestgulkan)
by kesa09
array
 
need little help here i have array with some description of items in it. in function countAudioCDs() i need to look for item "Audio CD" and increment it for o...
[3 replies] Last: problem solved i had to put if(strcmp(),==0) in for loop (by kesa09)
basic password program
 
I want to create a password checking program (which i will later use as a function in a bigger program) I typed the following code, but there seems to be a p...
[10 replies] Last: Relax, fellas. C is virtually indistinguishable from simple C++. -A... (by Albatross)
by panski
Variables problem
 
Hi ive been making my C++ program for several hours and I cant seem to make it work. heres the code #include <stdio.h> #include <conio.h> #includ...
[4 replies] Last: Yeah thank you very much. (by panski)
by kodera
using char, not strings for sorting
 
It is taking in the amount of responses, and only displaying one letter a multiple of times. How can I change it up to read in each name. So if I choose 3, read...
[17 replies] Last: That's why I recommended using char . :D -Albatross (by Albatross)
nim game
 
hi i need help with my nim game. everytime i play another game, the game number does not change. for example, if it is the second game, it does not display "gam...
[13 replies] Last: yes, highli i mean look you can change a lot of your main code by... (by justAbeginner)
What wrong with this. invalid compiler everytime i run.
 
I 've just downloaded the code::blocks, the one which is 19mb, (ive just read a thread suggesting to use that program), but when i hit run, it says invalid comp...
[1 reply] : go to settings >compiler chose the GNU GCC compiler and set it as deaf... (by justAbeginner)
April 2010 Pages: 1... 1112131415... 35
  Archived months: [mar2010] [may2010]

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