Beginners - January 2016 (Page 15)

Undefined reference
 
Hello!. I'm a beginner at programming, and I have to make a menu with an Decryption , and a Encryption.I have the code but a I get one error on line 41 undefin...
[12 replies] Last: I tried to change void Decriptare_Caesar(char text ){ to void '1'(... (by cire)
How to return as float when multiplying integer by float?
 
Hi guys, I was doing an assignment for my oop class and needed help. My assignment is about creating an invoice program that calculates the invoice amount from ...
[4 replies] Last: But shouldnt it automatically take it as a float as it returns it as ... (by Chervil)
Difference between Bubble and selection sorting
 
what is the difference between bubble sorting and selection sorting whereas the code same of both sorting but different algorithm why it is so....??? ...
[2 replies] Last: thank you sooo much ..... :/ (by Azeem Sulehri)
Need help on writing a 4x4 matrix code
 
Hello. Can you help me out telling me how to print a 4x4 matrix? This is how the matrix should look 0 - - - + 0 - - + + 0 - + + + 0 I guess it is a...
[2 replies] Last: Thanks a lot man. (by Tekniku)
Bubble array
 
Can you Help me with Bubble array please. #include<iostream> using namespace std; int main() { { int a , i, j, temp; for (i = 1; i <= 6; i++)...
[9 replies] Last: Sorry! didnt understand can you explain more? (by Shero)
Header problems
 
Hi, so here is the thing. I had to create Document class that works like a simple text editor. So I created document.h #pragma once #include "line.h" #inc...
[2 replies] Last: actions.h #pragma once #include <string> enum class action : char { ... (by etrusks)
Placing largest number in pivot position
 
I'm trying to make a code that will place the largest number in a column in a matrix in the pivot column. So in (1,1) it will compare all numbers below that poi...
[2 replies] Last: Yeah I'm trying to code it but something goes wrong. I would like when... (by rojan1918)
Localized version of system(cls)?
 
I'm making maze game and everything is working grate so far, but last thing I want to improve is more efficient screen output. Each move wipe and rewrite everyt...
[2 replies] Last: no need for string library, use a for loop (by RUNNER PRO AGARIO)
Reading objects into array from file and vice versa
 
Hi all, I'm currently trying to write a program which can read objects from a file into an array. Towards the end of the program I then want it to write out the...
[8 replies] Last: Well, it looks like for what I've been tasked with doing, I most likel... (by Arichimoto)
Fibonacci Numbers Green Crud Program
 
The following program is to be written with a loop. You are to write this program three times and each time with a different loop control structure (for loop, w...
[4 replies] Last: I need help with using a while loop then. A for loop can be consi... (by Chervil)
Intro + Seeking Help
 
Hello, I'm a new member here. I've recently decided to learn a programming language (C++) in hopes of keeping myself entertained with something that can both, ...
[10 replies] Last: I'm surprised nobody has done any bit manipulation, which seems like t... (by cire)
computing 13 digit number get freezes
 
im answering one of the problem in project euler #include <fstream> #include <iostream> #include <string> unsigned long long getProduct(unsigned long numbe...
[7 replies] Last: You can do it without string manipulation. You can split the number in... (by Moschops)
Reset Scope with pointers
 
sup does, how did I reset my switch...case in the classChoose scope? Like, I need to return the scope to the beginnin' in case of type an invalid class. ...
[5 replies] Last: Cool, that seems to work now =D, thanks for the help guys, helps a lot... (by grtavares)
how to write and read classes that contains string in a file
 
example class person { string name; int age; }; i want to write it's objects and read them from the file. while reading objects from file i...
[2 replies] Last: A few things. You need to initialize your variable p with some values... (by Thomas1965)
by cang
Program crashes when I try to run
 
I am trying to test my code for an assignment but the console in visual studio crashes before I can see any output. The program is supposed to read in two integ...
[8 replies] Last: Ah, and also you used system("cls") , and if I'm not mistaken, you... (by jgg2002)
How to reset arrays and add exit button??
 
Hi Guys I've been doing an tic tac toe game and i wanted it to be infinity until you type -1 and i wanted to reset an array so they can play again so i di...
[2 replies] Last: I really understand the code :P (by ehsan687)
Do While loop ignores statements after it in this function
 
This function is part of my assignment and it allows a user to change an old password that gets passed by reference into this function. This do while loop will ...
[1 reply] : Your problem is with your if condition on line 34. For one, if your o... (by pnoid)
Passing/Receiving value of variable in a function.
 
Hi! I'm having a problem with function on how to pass it to the other function. #include <iostream.h> void numd() { int a; cout << "Enter the number:...
[1 reply] : You need to have a function return a value. You can use a function i... (by pnoid)
coin toss using a class
 
Im having trouble with the random generator. It only displays "heads" first. I'm also having trouble with the counting how many times each side has been displa...
[13 replies] Last: ok thanks I guess this is the stuff they don't teach you in school lol... (by Bking419)
Function that will read strings of time from a .srt file and change it
 
I am working on a very simple program, which will receive the name of a file and a number (how much you want to delay your subtitles for from that file), then s...
[1 reply] : namespace nih{ struct time{ int millisecond; //easier to operate w... (by ne555)
January 2016 Pages: 1... 1314151617... 29
  Archived months: [dec2015] [feb2016]

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