Beginners - November 2012 (Page 49)

by adonro
Reading into a class
 
Hi, I'm working on a library reference program and currently trying to read from a file that has a mix of tabs and whitespaces. There are six values per line, ...
[1 reply] : use codetags please. http://www.cplusplus.com/forum/general/13087/ ht... (by Darkmaster)
by modic
Not use system()... but how? (1,2)
 
I know that system() is evil and stuff (and why), but how do you not use it? I am starting to create a game but need to know stuff like how to pause ...
[28 replies] Last: ... (by modic)
SDL problem, why does the exe crash straight away
 
the problem is something to do with my attempt to colour key the surface "object" though i dont know what...heres the code the the color key line is highlited ...
[1 reply] : The problem is on line 59. You have to initialize "object" before you ... (by dtaqee88)
by yaraa
can anyone help me please ..
 
Hi..Can you please help me to answer my qustion I didn't know how to answer it 2.Write a program that calculates and prints the Total cost of a pet dependin...
[7 replies] Last: can you solve that program other way plz thankes (by areej)
Palindrome phrase instantiated from here error c++
 
I am struggling with this code. I know what I want to do, but I don't understand why I am getting an "instantiated from here" error. My code is supposed to be ...
[2 replies] Last: Sorry about that. #include <iostream>; #include <cctype>; using... (by schlosserja)
Help with a 3 part program dealing with functions and factorials
 
The purpose of this program is to build a function to check inputs a function to calculate factorials and a function to calculate combinations. I thought I had ...
[10 replies] Last: Yeah I'm using Unix and it didn't say anything about that. I appreciat... (by byronflds)
Probably a stupid question
 
Hey all, I'm trying to get my thought around pointers, now I have a very easy question. When defining a pointer does: int* p or int *p both result in a poin...
[8 replies] Last: whaat!? thats moral support ideas man, beginners are most likley to gi... (by devonrevenge)
numbers coming out really weird
 
can some one tell me what in the world is wrong??? #include <iostream> #include <ctime> #include <cstdlib> using namespace std; void welcome(); voi...
[1 reply] : cout << guess << endl; This seems to be an attempt to output a funct... (by Moschops)
Can anyone help me figure out the my C++ homework
 
Hello, I am a new member in this forum. But , I need somebody help me do my C++ homework. It is due on Monday, tomorrow. I am not sure what my professor talks...
[no replies]
I'm confused by this problem. Can someone break it down for me?
 
Input an integer containing only 0s and 1s (i.e., a “binary” integer) and print its decimal equivalent. Use the modulus and division operators to pick off ...
[3 replies] Last: Thank you for breaking it down for me. Now, I understand what the prog... (by misslittle1)
linkers, linker libraries, other linker options, search directories...what are they?
 
i got sdl to work simply because i sussed out that it wants to know where lib files are so i put all copies of the files in system 32 and i told the linker to l...
[1 reply] : i knew it, no one understands linkers they are evil they an enigma. (by devonrevenge)
its time that i got the hang of header and sourcefiles, only my code doesnt work, can you help?
 
Got to get out of that beginner habit i havny bothered in ages and more advanced tutorials are beginning to get indecipherable, i have a few questions, the firs...
[8 replies] Last: what do i write in what linker section i know nothing (by devonrevenge)
Creating Files and Reading Writing Data
 
Hello, I want my program to create a text file in the install directory and be able to read and write data from it for example. I launch the program it cr...
[1 reply] : #include<fstream> #include<cstdlib> #include<iostream> #include<cstdi... (by Pter0dactyl)
by wifidi
quick and dirty boolean for the glass rod problem
 
bool isABreakThatFormsATriangle(double length1, double length2, double length3) { //* if any section is half, the others connect to form a line //* if any s...
[no replies]
Print formatting (1,2)
 
Hello, I had questions about formatting for printing. My directions say" This function will take the array of frequency of letters as input argument and prints...
[20 replies] Last: Actually, I was wrong. It's not just your fillString function. It's ... (by fg109)
ifstream question
 
Hello, I have a text file filled with temperatures and the year for them in front. I want to have the user enter a year and then read the temperatures for that ...
[1 reply] : how the data was written in the file :in binary mode or in text mode (by Pter0dactyl)
Character frequencies in a string
 
Hello, I've been a lurker here for a little and am now compelled to join because I need help with a problem I've been working on. For my project, I am trying t...
[3 replies] Last: I'd really like to know what I was doing wrong... Refer to the comm... (by cire)
(help) Program to read from file and perform bitwise operators
 
I'm not asking for code I'm asking for help. yes it is for a project for class. Program reads a .txt file that contains something like this, * NOT 1010011...
[1 reply] : http://www.cplusplus.com/forum/general/84507/#msg453161 (by Chervil)
While statement goes on beyond specified perameters
 
So I am extremely new at c++. I'm taking a 101 class on it right now. the simplified goal of my program is to intake data from a user specified .txt file tha...
[2 replies] Last: Putting that in didn't work, but i see what you were trying to do. Tha... (by mlacey916)
by Kuuler
Project - Library with SQLite database
 
Hi! First of all, I have to say that i'm pretty new with c++ and programming in general, so please go easy on me :) I have 2 questions and i hope someone coul...
[no replies]
November 2012 Pages: 1... 4748495051... 75
  Archived months: [oct2012] [dec2012]

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