Beginners - December 2010 (Page 16)

pass by value program
 
hello there please need your help with two things ...the first one is about the following code //pass by value #include<iostream> #include<conio.h> using ...
[3 replies] Last: hello sara, you cannot use a function which is not defined.. can you ... (by chathura666)
assembly
 
how can i write assebly code that be able excude on more of 32 bit cpu
[2 replies] Last: http://www.drpaulcarter.com/pcasm/ download the tutorial from this pa... (by chathura666)
by zeekay
cant remove that error
 
fatal error C1004: unexpected end of file found #include<iostream.h> #include<conio.h> #include<string.h> void stores(); void main () { int cho...
[4 replies] Last: You have edited your code...you now do not have a while for your do! ... (by closed account z05DSL3A)
by GulHK
writing to output screen and file simultaneously
 
Hello everyone! is there anyway I can write the output of a program both to the file and the output screen simultaneously? Code for writing to a file is as f...
[1 reply] : hi You should leave cout as is and just use the commands like this ... (by shredded)
by Maniax
For loop problems
 
I am trying to make a program that prints all possible combinations of hours (integer values) each of 2 hoses, i and j need to fill a pool. The time it takes to...
[2 replies] Last: Nice thx :D (by Maniax)
Library management software
 
Hi Big guyz , My teacher gave me a project to program a library management software which i have no idea of, what i realy mean the problem is, i don't realy kn...
[2 replies] Last: @ PiMaster I guess that's somewhat over the top @ Lucky D O... (by coder777)
by GLW
Reading a CSV file into an array of struct problem
 
Hi, new to this and have looked through previous posts to see if I can make sense of what’s going wrong but to no avail, any help would be appreciated. I a...
[no replies]
Factorial
 
I was trying to develop a simple program that can calculate factorial, but i'm not getting the exact result that i want. This was how i did it; //expect...
[4 replies] Last: I'm grateful Zaita, i will try your steps and then give you a feedbac... (by Lucky D)
Center position of an array of points that make up a Polygon
 
Hello! I am working on an app in OpenFrameworks that involves a bunch (an array) of amorphous blob-like shapes made of particles (using an addon that has som...
[2 replies] Last: Awesome! Thanks! (by breegeek)
yes or no
 
Does this consider a recursive boolean function? yes/no #include <string> #include <iostream> bool IsPalindrome(std::string str){ size_t j = str.length...
[1 reply] : Yes (by coder777)
by Maerle
how can i do a function?
 
I would like to do a function just to output a gameboard instead of write the same code everytime when a change occurs. #include <iostream> #include <conio...
[2 replies] Last: I don't mean to be rude, but this is covered in the tutorial, and its ... (by some random dude)
input file and an array
 
I have the next set of data: id sold left 619847GBE 641 998 418712IMB 107 867 227451GEM 789 181 981836KEA 747 171 986516IGU 303 71 501024BMU 895 7...
[2 replies] Last: I made an error in the class definition I wasn't suppose to make it a ... (by AkoTheShadow)
minesweeper conflict
 
Hello i am making a minesweeper program that reads the map from a text file. However i cannot get the constructor working properly. Can anyone help me with the ...
[1 reply] : Can someone help me with this.... (by swalton)
Test a palindrome
 
I got a problem finish my code. The purpose of the code is to test whether the user input or i may hard code the input is a palindrome. I got the hard part done...
[4 replies] Last: To: DeusExInfernus Yeah I didnt even think about using tolower(). ... (by shredded)
What type of Cipher i got?
 
void EncryptOption() //If option 1 is choosen, encryption begins { //declare variables// char Pass , name ; int a,b,x,y; const char* filename="Plai...
[7 replies] Last: That's why I was getting random symbols in encrypt file. I'll look int... (by closed account zb5L1hU5)
Weird Code result in different file size and time
 
Hello, I'm totally new to programming. I have a issue with hard disk performance i/o with my windows 2003 servers one of my vendor sent me the code below, the...
[9 replies] Last: As to my original reply. I see nothing in the code that would allow me... (by Zaita)
Not getting any output
 
#include <stdio.h> /* count lines in input */ main() { int c, nl; nl = 0; while ((c = getchar()) != EOF) if (c == '\n') ++nl; printf("%d\n", nl); } ...
[13 replies] Last: Rocketboy9000, thanks alot for the help, thats exactly what I was lo... (by Sputnik)
Simplifying it.
 
My professor is gay, i wrote this program that can test magic square and he told me i will get a zero because i am not using the so call "array and looping" as ...
[7 replies] Last: A series of loops is what you'd need. Why? Look at what you need to de... (by chronokitsune)
enum question
 
Lets say I have an enum with 12 values enum MONTH {Jan = 1, Feb, Mar, Apr, Jun, Jul, Aug, Sep, Oct, Nov, Dec}; And I am asking the user for the date...
[3 replies] Last: For enums where you don't specify *any* of the values, you can get the... (by pdbarnes)
by rej3kt
Association (1,2)
 
I'm really struggling to find out what association is, there aren't any decent tutorials on the internet. I understand that I use it to link two classes. I'm go...
[23 replies] Last: I did not talk about the struck.. rej3kt wrote: I don't under... (by firix)
December 2010 Pages: 1... 1415161718... 35
  Archived months: [nov2010] [jan2011]

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