Beginners - July 2015 (Page 8)

i am still not getting the drift
 
I am trying to get a grip of c++ before school starts in september and i am trying to understand it ...
[4 replies] Last: int tempArt; int tempEnglish; int tempMusic; double avg = (tempArt + ... (by MikeyBoy)
by DBBJAF
converting BYTE to STRING
 
hello if it's not the best place to ask,i am new here :) i want to get any macadreses from current...
[6 replies] Last: yes indeed,it's work with your guide thank you again JLBorges (by DBBJAF)
findLowest not returning the lowest. highest screwy too
 
This is making me crazy. The logic seems solid, but the findLowest and findHighest aren't returning ...
[3 replies] Last: I think so, I took the else out of those statements so each on would t... (by BonsaiSuperstar)
by bobpit
use a "permanent"/"static" variable in a DLL?
 
From a script language I will call functions from a DLL written in C++. In the DLL I want to initia...
[6 replies] Last: You should have learned about std::vector before learning about plai... (by LB)
Very simple question
 
I have an aray sum which contains these numbers: 48 58 62 46 42 and i don't know how to ...
[3 replies] Last: It is used to say if any swaps took place in the for/next loop. If no ... (by CodeWriter)
Machine-Level Representation of the Built-in Types
 
Hai, I am going through C++ Primer (5th edition) and in chapter 2, I read the Machine Level Represe...
[6 replies] Last: Thanks everyone, it's clear now. (by Josephreak)
Predicting outcome of rand() at 'x' iterations ahead?
 
Hello! I had an idea about random generation based on seeded rand(), but there is one caveat to m...
[4 replies] Last: For leap ahead in logarithmic time, see '3.2 Leap Ahead For Linear Co... (by JLBorges)
replacing character by a variable in a string.
 
I have a string like this: 80,15,2,?,0,71,9,16,?,5,6,7,?,32,5,67,96,?,8,95,100,675,875,0,?,?,?,0,5 ...
[11 replies] Last: Part of the reason why I said the code from JLBorges was a Nice remin... (by Gamer2015)
Need help to output data
 
How do I manage to output string1 from the main function? Thank you. /* Carlos Quirarte ...
[1 reply] : Hey, in order for people, including me, to help you better, could you ... (by Pratik K)
Sorting numbers in ascending order
 
Hello everyone, I'm trying to write a simple program that will get input from the user for 3 numbers...
[2 replies] Last: Ah yes it is. Got that part of the question mixed up, apologise for th... (by Hcode91)
Finding Highest and Lowest
 
I have a class assignment where I read in scores from 5 users and I am supposed to find the highes...
[3 replies] Last: To my non-expert eyes both functions look workable. :) (by closed account E0p9LyTq)
Getting a value between functions
 
Hi :) I have a function that gets the lowest score out of a few integers. //I'm not allowed ...
[1 reply] : Use your calcScore() function to call other functions, such as findLow... (by closed account E0p9LyTq)
by eons93
Bool function help.
 
No code help today but I am designing a turn based rpg game and have some effects where the effects ...
[no replies]
multiple if statement criteria?
 
Okay, I started learning C++ yesterday and am really clueless. Probably much easier ways of doing th...
[4 replies] Last: You are more than welcome, I know how being a real beginner learning C... (by closed account E0p9LyTq)
Beginner in C++ and need an explaination of basic topics and words
 
Hello, I am very new to C++, and in fact, very lost. I apologize for having such a beginner level un...
[2 replies] Last: I'm knew too, but I recommend downloading Code::blocks. It is an IDE w... (by InnominateHF)
rand question
 
how can i make this function give me random number each time i run it? rather than just give me the ...
[1 reply] : You need to call srand() in main or something. The key is to only call... (by TheKingOfTyrants)
How to delete data from array.
 
I am trying to give the user the ability to delete data from a .txt file. In order to do this I hav...
[1 reply] : If you are looking for the ability to delete cleanly array elements yo... (by closed account E0p9LyTq)
by stav
can you make something smaller than 1 byte?
 
hello, when i started learning c++ i was taught that the smallest variable you can make is a char w...
[3 replies] Last: Peter87, excellent reference. Thanks for pointing it out so I can pee... (by closed account E0p9LyTq)
C++ Class to stop Console Close Down
 
I read this thread "Console Closing Down" http://www.cplusplus.com/forum/beginner/1988/ with interes...
[6 replies] Last: Agreed. It's how I learned until I took some 300+ level university cou... (by Duthomhas)
How to overrite a .txt file
 
I was wondering if anyone can give me tips on how to overwrite/update a .txt file. I give the user ...
[8 replies] Last: Ok, I figured it out. I didn't realize it was as easy as kevinkjt exp... (by ctaylor4874)
July 2015 Pages: 1... 678910... 33
  Archived months: [jun2015] [aug2015]

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