Beginners (Page 79)

by rpalu
Pushing a class object onto another class' parameter
I've been given an assignment and it says exactly that. I'm not sure what other way I could so it ot...
[no replies]
return number of elements STORED
I need help in getting the number of elements STORED in my array. I have fixed array in size 5. ...
[4 replies] Last: Alright. I got it. I added an int variable and use that in storing a n... (by me loko 88)
Fahrenheit to Celsius Code
Hey guys, I'm new to any type of programming and for my computer science class we have to write a pr...
[no replies]
Help- 2d Array program sementation fault - core dumping
I am trying to figure out this prompt: Write a function that takes as parameters a square 2D arra...
[no replies]
Converting Metric to English and Visa Versa
I realize the topic sounds extremely easy, but the trouble I'm having with the program is rounding. ...
[1 reply] : You ask for integer feet. Therefore, there are no inches to care about... (by keskiverto)
algorithm into assembly language
1) Translate the following algorithm into assembly language. IF X > 12 THEN X = 2*X + 4 ELSE X = X ...
[4 replies] Last: Looks like intel code. Using gcc, I was able to generate this: .fil... (by Smac89)
Questions about Classes
[1 reply] : 1.a.b.c : There are no real world programming examples to showcase thi... (by Computergeek01)
How push_back and emplace_back methods working with class, that havent copy constructor
Hi all! First of all, sry for my bad english =( I have the class MyClass. He havent copy construct...
[5 replies] Last: super-mega-big class Smells fishy and prime target for refactoring ... (by MiiNiPaa)
by kazwho
bubble sort and call functions
So I'm having a little trouble with a program I have to do for a class. The objective is to use a bu...
[1 reply] : #include <iostream> #include <ctime> #include <cstdlib> // #include <... (by anup30)
Pointers/For Loops Videos?
Pointers/For Loops Videos? Are there any suggestions for plain-English good Youtube video channel...
[no replies]
problem with operator+() overloaded function
Hello guys. I did this before with built in types, but this time around I keep failing trying to do ...
[7 replies] Last: Thanks dhayden, peter87, and coder777. Highly appreciated (by Misbahu)
Learning functions
Hello everyone, we are learning functions and I am trying to do some review work. The question is to...
[8 replies] Last: Thanks! (by hatepotholez)
by Selver
typedef const reference
Hello all Im working on an assignment to implement the functionality of the list class. I've got it ...
[2 replies] Last: A better question then, what exactly should I be returning in those fu... (by Selver)
by bpro
generateRandomNumber function layout help!
I need to create a function that will generate a random number between 1-25000. I am completely lost...
[1 reply] : I can't tell my looking at this since it's just a part of a program, b... (by JoJodoggy1)
I want array to not read first integer
So I have a file names sortme that reads: 5 d 99 0 3 45 2 I want to read this file to an a...
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
How do i get array to ignore an integer from a filee
So I have a file names sortme that reads: 5 d 99 0 3 45 2 I want to read this file to an a...
[1 reply] : std::ifstream input("sortme.txt"); //Open file in constructor int num... (by MiiNiPaa)
by NOD32
Help with bubble sort
I need help with my bubble sort algorithm. I'm not sure if i've coded it correct, but I want to sort...
[5 replies] Last: thanks. i have my sort working but i have one more problem with code. ... (by NOD32)
how to initialize arrays in constructor using passing by value
Hello all, i want to initialize an array in constructor and return it to main. I wrote a code but c...
[1 reply] : #include <iostream> using namespace std; class ArrTest { int num... (by anup30)
error: ld returned 1 exit status
compilation is fine but there is some problem in linking. But i am not able to track the error ...
[3 replies] Last: ^^^ thanks.... mann i have started to make horrendous errors.. (by rahul135)
by Jon15
Formatting errors with loops and io stream objects
I have the code right for the most part, just my formatting is off. My loops aren't working exactly ...
[5 replies] Last: I guess it's because of the extension you provide for the file "origi... (by andy1992)
Pages: 1... 7778798081... 106
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.