Beginners - April 2014 (Page 23)

Trouble linking files
 
In my programming course, we are using cygwin with gcc compiler. I understand that I have to compile...
[1 reply] : you need to use the `-c' option to stop at compilation and do not try ... (by ne555)
No. of Comparisons
 
hello guys, I'm trying to find the number of comparisons a particular program makes. So i decided...
[9 replies] Last: Computergeek01 Rethinking and changing the program flow a bit worked... (by Void life)
Reading from a file
 
Can I have help writing the read function for my code? Not sure what to do, and I know what I have n...
[2 replies] Last: Well, I don't think I'm allowed to use those, it would defeat the purp... (by sierranm)
Eight Queens, More arrays
 
Ok. I've always had trouble with the Eight Queens problems that I've been given. Yet again another o...
[5 replies] Last: I didn't really give you any code to put anywhere. I outlined the log... (by Disch)
Writing and Reading text files
 
I've written a code where certain operations occur on a set of matrices but i need it so this code i...
[3 replies] Last: but i'm not sure how to make it how i need it to be. Could you clar... (by Chervil)
Transpose File
 
I dont know how to transpose the file then write it in the output file #include<iostream> #incl...
[3 replies] Last: No I have to transpose it (by Darbear02)
Addition in a linked list?
 
I am creating a linked list and I am confused about how to operator overload the addition of a linke...
[1 reply] : If this is a singly-linked list, I might be able to help. For future r... (by PrivateRyan)
NEED HELP
 
Hey Guys this is my question but im having problems with the code it compiles but doesnt run correct...
[4 replies] Last: If you want to execute the process of the user entering an integer val... (by PrivateRyan)
Array of char not changing values
 
If you look at the Winner function, and than go to the for loop at the bottom, it changed the value ...
[6 replies] Last: Yep - there's the char/int discrepancy there. Line 95 - do you mean ... (by wildblue)
Searching text-document for a specific sentence (1,2)
 
I'm unsure of how to search a text-document using fstream for a whole sentence, without actually sea...
[25 replies] Last: Ah, yeah, don't know why I did that! (by closed account 3R5fjE8b)
by adrien
Need help
 
Need help with this question: -Given that n = 5000, write a program that shall prompt the user to...
[7 replies] Last: #include <iostream> using namespace std; int main() { int n = 5000... (by adrien)
Program stops running on simple array assignment
 
Hello, This has been driving me crazy all afternoon. Program runs great until I add a simple two di...
[15 replies] Last: Thanks- really appreciate it. I am just getting started with C++ and ... (by tdeluce)
C++ number of components
 
Hey guys i have a problem with function number of components, i need to count them but i have no ide...
[no replies]
Menu Function not working
 
Hey everyone. I was wondering if I could get some help with this program. I'm trying to get the ...
[5 replies] Last: int d, s, n; seats = '-'; d, s and n have uninitialized values w... (by wildblue)
how to make a calculator for beginners
 
#include<iostream> using namespace std; void calc() { int a; int b; string opp; ...
[2 replies] Last: b=0 (by ResidentBiscuit)
Pointer or reference to a whole array
 
Hello there, so I would like to know if you can make a pointer or reference to a whole array. I`m us...
[5 replies] Last: > I would like to know if you can make a pointer or reference to a who... (by JLBorges)
by shyy
Help with Recursive Function
 
Hi I am trying to fill up an area from a rectangle. I have operator overloading function that retur...
[7 replies] Last: In which case your function should take two arguments, AreaOfRectagle ... (by Lachlan Easton)
C++ RPG Start tips please
 
Yo is this good code because im pretty proud on the start system i made for it but any ideas to imp...
[6 replies] Last: I am by means NO expert, but I am also in the process of developing a ... (by closed account 3R5fjE8b)
Pass by Value Program
 
Can anyone help me with this code? I try to compile it but it gives the errors message: cannot conv...
[14 replies] Last: Thanks... I will edit the code... (by bardson)
by xerx25
My program is outputting out of range numbers
 
I was creating a similar, but not exact, program to the 3n + 1 problem on programming challenges, ...
[5 replies] Last: I will use the debugger, thanks guys for all your help. I didn't reali... (by xerx25)
April 2014 Pages: 1... 2122232425... 67
  Archived months: [mar2014] [may2014]

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