Beginners - November 2013 (Page 58)

by enemy
"In function int main()"
 
PLease, what is the error? #include<iostream> #include<math.h> #include<stdlib.h> using names...
[2 replies] Last: I have it, but later, cause program is calculating stil lsome things..... (by enemy)
by ephekt
help with vectors
 
I changed this function for arrays to accept an argument of type vector but the function does not do...
[4 replies] Last: for this one i cant use /algorithm/sort i was given a function that wa... (by ephekt)
problems with switch case using arrays an functions
 
Hello everyone I'm fairly new to programming an am working on an assignment where I'm using a menu u...
[2 replies] Last: yeah I was adding each one by one and running them each to make sure t... (by valmaral)
Parse string, store into array
 
So I have been working on some code for 3 weeks. It should only use functions in main. The purpose o...
[no replies]
Getting data from a .txt file using strings/arrays
 
Thank you for giving my post a quick look, means a lot! Basically what I'm trying to do is read ...
[6 replies] Last: Just change char foo[ 000whatever ]; to string foo; , and instead o... (by Duthomhas)
Let the user input integers and stop when input is 0, print out the second biggest number(excluding 0)
 
I have come up with the code below but I don't know if I have covered all the cases, please help me ...
[no replies]
Output to file not working?
 
So I've been trying to get a code from Mathematica transfered to C++ to check for something, and for...
[no replies]
Floating point
 
Why does this code print "k>0.1"? And how to solve this problem? #include <iostream> #include <...
[5 replies] Last: #include <iostream> #include <cmath> int Calculator(double a,double... (by condor)
C++ vs Java
 
hi, hoping this is not out of topic... i program in c++ and i'd like to improve it, but i'd be inter...
[2 replies] Last: thx for the reply, i'll move the posti in lounge (by ardengo)
help me
 
hello i am using code blog for practise,.,.,i m new in C++ . the header files #include<iostream> is ...
[5 replies] Last: what is the exact error message you get ? (by nvrmnd)
embed resources in the code?
 
hello everybody i'd like to know how to embed resources (like images or font files) in header files...
[no replies]
Seat selection c++ stuck
 
Hi, I urgently need help. My code compiles but i having lots of problem in it. 1)Whenever i key in...
[no replies]
matrix
 
anyone knows how to make this script? We have matrix NxM.All elements are different.Pick lowest ele...
[1 reply] : Have you already tried coding? If you're stuck, we can gladly help. Pl... (by The illusionist mirage)
Classes
 
i have looks at class tutorials and dont understand a thing of it how would i put these into classes...
[2 replies] Last: Thanks really helped (by Tristan101)
Card Game troubles
 
Hello everyone, I'm working on a simple WAR game to exercise the logic involved in programming ...
[8 replies] Last: Glad you found it (by mobotus)
by pinvpn
Unable to read/open the .dat file
 
Need help in reading a .dat file, i'm unable to open the file This program is for a Air Quality i...
[6 replies] Last: The main thing is that I'm using xcode for my programming and in Xcode... (by pinvpn)
Help with do while loops
 
For some reason this loop is repeating no matter what the user inputs, also the while loop runs ever...
[2 replies] Last: [quote=Dreilly]For some reason this loop is repeating no matter what t... (by The illusionist mirage)
HELP -Gcf NON-RECURSIVE FUNCTION
 
I don't know if its right, but I am getting the answer I wanted but now I don't know if I am doing t...
[8 replies] Last: Recursive or iterative, one must still avoid division by zero. (by cire)
by enemy
How to write (rand)
 
Please is theere a way to write this shorter? int a=rand(); int b=rand(); int c=rand(); ...
[4 replies] Last: #include <iostream> #include <cstdlib> #include <ctime> #include <vec... (by JLBorges)
questions
 
i am trying to get this code to work so i can ask questions. #include <iostream> using namespa...
[2 replies] Last: Wish I could help you but I think your missing a few things: #include... (by gsundquist)
November 2013 Pages: 1... 5657585960... 80
  Archived months: [oct2013] [dec2013]

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