Beginners - August 2014 (Page 36)

by SVcpp
Help with code?`
 
Hello, I guess I'm not as savvy with while loops as I thought. I know that I have to declare a v...
[2 replies] Last: Thanks! I figured it out a little later with help, but this helps too!... (by SVcpp)
I'm a beginner but I need help bad!
 
Hey guys. I'm quite the beginner at C++. This question has been bugging me for hours and I CAN'T SEE...
[5 replies] Last: I finally just decided just to delete everything except the bool and i... (by lilmula01)
Looping through files
 
Hello, I'm trying to run several files through a simulation, where each file name has letters and...
[5 replies] Last: Thank you very much, this is exactly what I needed! (by vadkortefa)
by ej711
Checking if 3 Variables are Equal
 
I need help with a program I am making. The user inputs the values to 3 variables. I need the loop t...
[13 replies] Last: while(variable1 != variable2 || variable2 != variable3) { //get ... (by giblit)
Switch within a switch called from a function
 
As the title is referencing is I want to setup functions to call at certain point within the code. F...
[14 replies] Last: How does this behave? #include <iostream> void showMenu() { std::cou... (by keskiverto)
by xx1182
SDL and renderers
 
Oke. I'm starting using SDL, and i need an optimized img loading function. Currently in the new SDL2...
[3 replies] Last: I guess SDL.h contains a forward declaration of SDL_Texture without a ... (by Peter87)
by Oboko
How to share cross-platform program using Boost libraries
 
Hi, I've written a very small, supposedly portable, http server that runs as a daemon using Boost...
[1 reply] : Well first off, you need to decide how you want to link to Boost. You ... (by ResidentBiscuit)
yet another primary-expression compiler error
 
Could someone help me with this primary expression compiler error? proj7.cpp:52: error: expected ...
[2 replies] Last: Okay, awesome. That did the trick for now, thanks. I figured it was so... (by ianElliott)
%d vs %s
 
I declared a character array and at the time of taking input I used %d instead of %s in function sca...
[2 replies] Last: GCC will warn you if you use the -Wformat flag (included by -Wall). h... (by Peter87)
by ci one
storing one item in two different vectors
 
It seems it's not possible to store the same item in *two* different vectors, right? The way I te...
[10 replies] Last: Thanks, makes sense. I think the double asterisk signature is certainl... (by ci one)
by danzal
i cant open text file
 
im unable to open my text file #include <iostream> #include <fstream> #include <iomanip> us...
[3 replies] Last: why is my output like that You just need an endl in your cout s... (by Chervil)
Help Simplify the following for loop
 
Hello all, I've been given an excersize to simplify the following forloop but i think its already si...
[6 replies] Last: Instead of for( int j = 2 you could put for( int j = 0 That requi... (by Chervil)
changing numbers to upper case letters
 
Hi, I was wondering how I would change the numbers 0-9 to the upper case letters A-J. I dont want to...
[4 replies] Last: Hint: For These Type of Programs always make use of the ASCII Table :... (by Disch)
Efficiency Question
 
I'm working with what is essentially an excel file, in the sense that it has rows and a defined numb...
[1 reply] : I will also be going through a pointer to accesses fields for compari... (by AbstractionAnon)
output largest negative number
 
Hi , I was wondering how to write this program: Input double numbers until sentinel value of 0. ...
[3 replies] Last: As giblit has said, it's as simple as that. (by guteyuro)
Algorithms
 
Hi guys. Im wondering if there is a place were i can practice reading off algorithms that show steps...
[2 replies] Last: you can try Algorthms in C by robert Sedgewick https://www.google.cm/u... (by shadowCODE)
by sanann
pointers using boost::ublas::matrix
 
Hello, Using boost matrix, implemented matrices to generate 2 sets of low pass and high pass filter...
[no replies]
by maiden
Program exits if non-integer is entered
 
How to make this program prevent from terminating after entering non-integer such as "letters",? ...
[7 replies] Last: Yes, by program logic. "123" is one input. "+" is the next input. Writ... (by keskiverto)
(algorithm) transform every element and append to the same container
 
I have a vector with 3 string elements {"zero", "one", "two"} . What I'm trying to do is to "repeat...
[6 replies] Last: Thank you. I have learnt a lot from your reply. (by Nikko YL)
HELP ME! C++ EXAM
 
1) Make a program that will determine whether the given number is even or not. Sample Output Input...
[5 replies] Last: Oh and by the way the modulus operator is the same as c = round(a/b) ... (by giblit)
August 2014 Pages: 1... 3435363738... 40
  Archived months: [jul2014] [sep2014]

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