Beginners - September 2011 (Page 36)

Trouble with data storage
 
I need to create a program that takes in doubles and then calculates the greatest value and the smal...
[1 reply] : 1. Read block of data from file. 2. Find max and min in block of data.... (by helios)
Can someone give a emailer cource code?
 
im not sure how to go about this i feel awful asking for code but could i see it i want to learn fro...
[1 reply] : You're better off starting with basic network programming using socket... (by ModShop)
getline()
 
What's the difference between: std::getline(std::cin, string, '\n'); And: std::cin.getline(s...
[1 reply] : std::cin.getline(string, '\n'); This version is incorrect. Its this:... (by wolfgang)
C Programming Differentiation HELP! IT'S DUE TODAY!
 
Alright so I have to create a program that calculates the derivative or the slope of an arbitrary in...
[9 replies] Last: The way I see it, your program works in two steps. Bear with me, I'm a... (by Albatross)
noob web browser
 
im making a web browser i have the basic layout but the last thing i need is a source code to make i...
[2 replies] Last: i didnt realise creating a custom web browser suddenly gives you prox... (by helios)
by LJones
Why does accelerated cpp have me return istream& here when void works?
 
I'm working my way through Accelerated C++ and I've come across this exercise. The read_hw function ...
[2 replies] Last: disclaimer: this is going to be really noobish. so based on this threa... (by LJones)
by Bianca
Please Help! Thank You XOXO
 
I have a project due some time next week and I really need help. I have a feeling I am not too far a...
[2 replies] Last: You need to declare your functions before they are called, so the comp... (by ModShop)
The project is out of date
 
I use visual studios c++, and whenever I try to run even the most simple program, it says "the proje...
[1 reply] : You have a divide by zero, so I'd expect it to crash. What version of... (by kbw)
by Ingvvy
If statement
 
Hello, First thing you should know: I am an almost total beginner in C++, as I already had trouble ...
[1 reply] : Fixed it! Forgot to put double "=" to if statements. *sigh* I'm such ... (by Ingvvy)
by Vhorx
How do i make an input that isn't a number
 
Hi everyone new here. :) Just started learning C++ the other day just out of sheer curiosity. I hav...
[3 replies] Last: The std :: string class encapsulates an array of char -- which hol... (by Duthomhas)
by kingW3
checking sizes
 
Is there a synthax that can check size of file(s) and end process if the size isn't true?I'm sorry i...
[1 reply] : std::ifstream file(filename,std::ios::binary|std::ios::ate); size_t ... (by helios)
by wtf
Would this be a propper useage of macros?
 
I would like it that bitsets would throw an error if they are assigned a value outside of their bitr...
[6 replies] Last: The preprocessor can do this in the same way that the compiler can l... (by wtf)
No match for operator!
 
Hello, I am new to C++ but I program in Python. I am getting a really weird error saying that there ...
[4 replies] Last: Nope. You could do this, if you wanted too. int main () { std::cin... (by Da0omph)
Shoertening this program, help please
 
//Permutation program #include <iostream> #include <vector> #include<time.h> using namespace std; v...
[4 replies] Last: //Permutation program #include <iostream> #include <vector> #inclu... (by Cuddlebuddie928)
Error variable not initialized? WTF
 
#include <iostream> using namespace std; int main() { double meal_cost, tax = 0.0935, tip ...
[1 reply] : It is not intialized because you didn't initialize it: #include <... (by CosminNTG)
by wtf
error: B2 does not name a type
 
#include <iostream> #include <bitset> using namespace std; #define old_bitset_declarator(uint, n...
[2 replies] Last: bump bump (by wtf)
Help Isolating Individual Words in a String
 
I'm writing a Pig Latin translator just for fun and the learning experience and I'm having trouble i...
[2 replies] Last: OK, thanks, I'm not sure if I completely understand yet, but I'll just... (by NetHacker)
by gemic
Bracketing Search
 
Im trying to do the beginner exercise called Bracketing Search. Modify the program so that inst...
[2 replies] Last: Look at a binary search, and apply that algorithm to this problem. Sta... (by Intrexa)
can someone help me with this program
 
Hello all, I'm trying to create this program for my c++ homework, but I can't for the life of me fig...
[7 replies] Last: Since totalServiceChagre (sic) is an int, you need at least 4 checks ... (by MrBackpack)
creating a text game, going from start game
 
I know this might be a fairly broad subject. Basically, I'm teaching myself c++ through books and o...
[1 reply] : From that case in your switch you will call a function playGame().... (by hamsterman)
September 2011 Pages: 1... 3435363738... 48
  Archived months: [aug2011] [oct2011]

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