
please wait
by sirc89
Structures(struct) as Function Arguments
|
Okay I need help completing this assignment: ******************************************************************************* A sample data file is provide... |
Nov 30, 2012 at 7:12pm
[no replies]
|
by SCozzi
Taking numbers from txt storing as int
|
Hey guys, I've been looking around for a while and can't seem to find anything useful. I'm trying to get my program to take data from a text file and store them... |
Nov 30, 2012 at 6:51pm
[11 replies] Last: The code you posted wouldn't work if your file looked like this, thoug... (by m4ster r0shi)
|
by sean903
Nobody wants to help?
|
Been playing around with it, I got the errors to go away but my if else statements aren't working correctly. no matter what the final score is, it goes with the... |
Nov 30, 2012 at 6:45pm
[6 replies] Last: Yupp! Appreciate it!! (by sean903)
|
making a void function to reverse the order of a .txt file input by the user |
how do you use a void function to reverse the order of a .txt file then print it out? I just need to see and example of a void reverse_order function The user... |
Nov 30, 2012 at 6:14pm
[4 replies] Last: how do you read it into a vector (by cookimnstr123)
|
by Lim Boon Jye
Question meaning
|
As this just a exercise question just want to get some understanding Create a template of function and how to use this replace and erase in string thi... |
Nov 30, 2012 at 4:54pm
[4 replies] Last: i dont understand your second question. but you can find all the info... (by Darkmaster)
|
by butlej
How to create Nested Loop *REALLY NEED HELP*
|
Hey guys, I'm a uni student new to programming so I only know the basics. Basically I have to create a nested loop in my program so once the user has entered th... |
Nov 30, 2012 at 4:49pm
[13 replies] Last: Thank you! (by butlej)
|
by byronflds
Learning Arrays
|
I need help with the loop of my array program. The point of the program is to ask a user for a certain number of integers and then read that number of integers ... |
Nov 30, 2012 at 4:17pm
[7 replies] Last: you only check 2 elements there, not the whole array also you dont che... (by Darkmaster)
|
by cspctec
Getting large numbers as output
|
I'm trying to finish up my program, but I'm getting very large numbers as the output for the averages after running the program. This program takes data from th... |
Nov 30, 2012 at 3:48pm
[7 replies] Last: I wouldn't average the rows in the loop you're averaging the rows. Co... (by cire)
|
by Stunning
isn't the void function here is wrong?
|
#include<iostream> using namespace std; void main() { int x = {4,2,8,9,3,12,5,0,14,1}; int count = 0, largest = 0; while (count !... |
Nov 30, 2012 at 3:38pm
[1 reply] : return 0 with void does this look correct to you? (by Darkmaster)
|
by maroun
enum
|
Hello, Is it possible to create an enum inside an enum ?? if yes please give an example !! thank u !! :) |
Nov 30, 2012 at 3:36pm
[2 replies] Last: no, enums can't have more than 1 dimension. you can use several enums... (by Darkmaster)
|
by ab123
reference to array
|
Can some one tell me what does the following line mean? const Array<int>& abc; then I want to assign abc = foo->get_array() where get_array() returns me a c... |
Nov 30, 2012 at 3:25pm
[3 replies] Last: Thanks! :) That helped. (by ab123)
|
by alext
The console prints with weird spacing?
|
Hi, in a school-assingment I'm trying to print out movie titels and type (blueray or dvd) from an array. But when it prints the spacing of the text gets prett... |
Nov 30, 2012 at 3:23pm
[1 reply] : getline(cin, filmer .name) >> filmer .name; First you read a line an... (by Peter87)
|
by cubanoemg
Multiply using the shift‐add.
|
I need to build a C++ function that forces the processor to multiply using the shift‐add. The multiplication code must be done in assembly, but I can use the... |
Nov 30, 2012 at 3:04pm
[no replies]
|
by ive7ooo
loop for partually filling an array and returning the number filled ?
|
I have an array of structures and user input for thr number of elements that will be added, I think I whould then return that number as I am using it in all oth... |
Nov 30, 2012 at 2:42pm
[no replies]
|
by butlej
While/Nested loops
|
Hey guys I'm a uni student and I'm new to programming, I've never ever used loops before and I've been asked to create a programme where the user the user types... |
Nov 30, 2012 at 2:16pm
[no replies]
|
by gtim
how can separate the date from input file into arrays?
|
how can read the date saprate from input file into 4 dynamically arrays without the '/' the input file is like : 2 // the size of file shoa say/1111/2... |
Nov 30, 2012 at 2:13pm
[1 reply] : If your compiler is recent enough and supports C++11 well enough, I su... (by Catfish3)
|
by devonrevenge
What kind of pure c++ code without an API could communicate with hardware?
|
could i create a program that could say switch on and off my keyboard led? Im going to approach network programming, i have looked at qt, win sockets, boost r... |
Nov 30, 2012 at 2:11pm
[7 replies] Last: That's right, the sockets API is a nice way to understand what goes be... (by gomesrod)
|
by LiamSalt
deleting vector
|
void Person::SearchDelete(int numDelAccount) { for (unsigned int i=0; i < accounts.size(); i++) { if(accounts ->getaccountNumber()==numDelAccount) ... |
Nov 30, 2012 at 2:05pm
[2 replies] Last: This seems to of worked, it has a little issue if it is trying to dele... (by LiamSalt)
|
by zyhsu1
arrar and copy files
|
Dear sir: I have a sequence image files: from box0001.jpg to box0015.jpg, I want to cut box0001.jpg - box0009.jpg to a folder(C:/box1/), and cut box0011.jpg... |
Nov 30, 2012 at 1:22pm
[5 replies] Last: Dear catfish3: Thanks! This is a big help! Best ze-Yi Hsu (by zyhsu1)
|
by anas zarafa
helpe me please
|
i use Linux MINT and i don't know how use VI on mode 'insertion' |
Nov 30, 2012 at 12:29pm
[1 reply] : http://lmgtfy.com/?q=vi+tutorial (by kbw)
|