Beginners (Page 41)

character arrays
so i keep getting the errors 1.syntax error: identifier 'Technichian' 2.'='; cannot convert fro...
[2 replies] Last: First, again , please use code tags when posting code. See http://www... (by keskiverto)
what's the best algorithm for selection sort?
does anyone know whats wrong with this code? #include <stdio.h> #include <stdlib.h> void swa...
[1 reply] : a and b are passed by value to swap(). Make them references, or their ... (by lastchance)
constructor causes crash
Hi guys so I'm at the point where I think I'm comfortable enough to start trying some frameworks/api...
[2 replies] Last: thanks repeater that makes sense :) and true but how come we wrap the... (by adam2016)
by sb99
Why is ios not a class or namespace and why is fixed/showpoint subsequently undefined?
std::cout.setf(ios::fixed); std::cout.setf(ios::showpoint); std::cout.precision(2);
[2 replies] Last: ohhh, I did not realise ios was a part of std, I thought ios was it's ... (by sb99)
by Neahle
Show the same picture on all computers.
Hello, Im trying to figure out how to code a program, that shows a picture. The only problem I ha...
[9 replies] Last: your performance and user friendlyness will be improved if you use opt... (by jonnin)
Classes and Data Abstraction Assignment
I need help with my assignment for class. Please note I am not asking anyone to do the work for me, ...
[1 reply] : a void adder might look like void addto(type &in, type &value) { ... (by jonnin)
passing pointers to different functions
I'm working on a college project in which I need to make minesweeper. I have to make it without usin...
[4 replies] Last: thanks for the reply. I've decided to try and do it as a public class... (by binaary)
no arrays allowed help for standard deviation
Hello, Totally new at this and im not sure how to re build my code without the use of arrays or v...
[5 replies] Last: This rewrite might help to explain. #include <iostream> #include <cm... (by lastchance)
Is this code salvageable or not.
I was doing a example program and it states that: A courier company charges $1.50 per kg, with a ...
[2 replies] Last: A simple way: /* Write a program which allows the operator to enter ... (by Thomas1965)
Read access violation calling pointer function - "this is nullptr"
I've been getting this read access violation exception for hours now and I can't for the life of me ...
[2 replies] Last: JLBorges... saved my ass once again. How the hell did I miss that? You... (by megatron 0)
user defined functions
I have attempted to write a code to solve a homework problem. Problem statement: Your program shoul...
[1 reply] : the int coffeeBeans (...) is a legacy that I forgot to remove. Also ... (by link45jeff)
Problem with dynamic arrays and pointers
I currently am having trouble getting a program to work that is supposed to create a dynamic array, ...
[3 replies] Last: Oh and don't forget if you promise the compiler that a function will r... (by jlb)
by Joe C
>> and << for User-defined-type
Good day, I'm having bit of an issue regarding writing to and printing from a user defined type. ...
[2 replies] Last: Thank for the reply. This looks like what I'm looking for but I'm afr... (by Joe C)
overloading << operator
Hi guys, I'm trying to overload the << operator for my book class but to no avail it must be someth...
[3 replies] Last: the reason I have a default ISBN is if the user enters a wrong ISBN w... (by jlb)
Dynamic array vs array on stack
Hi guys I have come to learn that the first example is not good practice and on some compilers will ...
[8 replies] Last: very true keskiverto abstraction comes in very useful at times (by adam2016)
by Vinh11
Frequency of random generated 30 numbers from range of 0 to 9
I have been attempting to finish one of my codes for homework I got the list to work listing o to 9 ...
[4 replies] Last: Thank you Icy1 I finally figured out what occurred by using yours as a... (by Vinh11)
by RCE11
How to square a matrix
Write your question here. I have the code which creates the matrix, but I am having trouble squarin...
[8 replies] Last: How does one multiply two matrices? (In math.) (by keskiverto)
Initiallization Issue in Project
Hi all, I'm currently teaching myself C++ and have been working on a project using ncurses and ve...
[4 replies] Last: I've tried to use your example. I've change the code for the class as ... (by B3gin3r)
Calling Functions in main()
i have this project for my class that i am having a few syntax errors with. the whole story of the...
[4 replies] Last: Hello dragonxalli, As I started working with the program I noticed th... (by Handy Andy)
Finding Prime numbers with boolean function
I am trying to find the prime number from the function isPrime. If the number is prime it will give ...
[2 replies] Last: it is still giving me the same problem, i am getting false when i inpu... (by irfantz)
Pages: 1... 3940414243... 47
  Archived months: [feb2018]

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