General C++ Programming - October 2014 (Page 26)

need explanation
 
An "A" entered in the keyboard simulates an interrupt signaling the arrival of a process. The handli...
[no replies]
PLEASE SOLVE THIS PROBLEM
 
Hey and hi, Task 1: Write a program that randomly generates 1000 integers, then, generate an integ...
[2 replies] Last: #include <cstdlib> #include <ctime> // clock() and CLOCKS_PER_SEC #... (by closed account 1CfG1hU5)
by clock
What does *= mean?
 
For example, void multiplyByTwo(int m) { m*=2; } How does that read exactly? I under...
[9 replies] Last: #include <iostream> using namespace std; void multiplyByTwo(int m) ... (by closed account 1CfG1hU5)
by Won
Binary input
 
Hi everybody! I would like to read in binary files, then write them to another file. I writed a co...
[4 replies] Last: Thank you!! (by Won)
by Noori
reading from file
 
hello, lets say i have the coordinates x,y of and 2d space in an input file like: 10 2 3.57 3.18...
[no replies]
Error: variable or field 'xxx' declared void
 
On running the following codes I'm getting these errors. I'm using Code Blocks 13.12 void view...
[7 replies] Last: Thanks @MiiNiPaa, It worked. (by atinesh22990)
reading numbers from a text document
 
so the data file is a .txt that is going to be pre-written like this: numbers: 562 444223.12332...
[4 replies] Last: Thank you so much! I am able to see what i did wrong. You were so help... (by anhdang)
Save files
 
How do you create a save file for a game, that is not a separate file? Specifically I am using code:...
[6 replies] Last: Why not just use binary files? Your entire save could be a single str... (by Disch)
C++ Primer 3.2.3
 
Write a program that reads a string of characters including punctuation and writes what was read bu...
[no replies]
by Kubani
push_back(new triangle)
 
Hi, In C++ by FLTK, to define a circle we use some code like this: Circle c(Point(x,y), r); And...
[1 reply] : No reply!? for more info read this please: http://forums.codeguru.com/... (by Kubani)
quick sort.seems like the function quicksort(int [],int,int) is not at all called
 
#include <iostream> using namespace std; int split(int a ,int p,int r) { int x=a ; in...
[2 replies] Last: quicksort is called, what does this line look like to you: int* s_arr... (by Smac89)
Please I need help having this compiled
 
Return the digit at the user specified index of an integer. If the integer has n digits and ...
[4 replies] Last: Oh yes. many many thanks. reversing it and then comparing the left f... (by shaniwaketech)
I need more lesson c++
 
I am sick of mathematical operations. I learned all lessons at this address. http://www.muhammedmast...
[2 replies] Last: I have to break c programming because of my school. I go to college an... (by BataryaCompany)
Parking Garage
 
I have a program where a parking garage charges 6 dollars for 3 hours. for extra hours, they charge ...
[3 replies] Last: thanks for the help (by sammweout)
please help
 
<<ambiguous overlead for 'operator= ' in '((student*)this) -> student::name = 0'>> This error is in...
[10 replies] Last: got it. thanx allot man i really appreciate it :D have been trying t... (by mr kutch)
Problems with std::shared_ptr in perfect forwarding
 
I got trouble again with perfect forwarding and std::shared_ptr. Because it's hard to explain, I'...
[8 replies] Last: Haven't we discussed this earlier? Sure we have, but back than, shar... (by hellhound)
Code not showing on console application
 
I'm Using Windows Visual Studios Ultimate 2013 and this is the win32 console application and well i...
[no replies]
Linker errors
 
I am having a lot of trouble with linker errors. I don't know what I am doing wrong. I am not even s...
[11 replies] Last: Since you're using Visual Studio 2010, I assume you started a Win32 Ap... (by liuyang)
Writing float value to file
 
I'm trying to write the value of xcord to the file, but it's come out as jiberish like š™ for som...
[2 replies] Last: If you write the value as binary you have to read it as binary as well... (by Peter87)
October 2014 Pages: 1... 2425262728... 38
  Archived months: [sep2014] [nov2014]

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