Beginners - January 2018 (Page 12)

by jebin
i have wriiten a program and i have encountered errors which i couldnt solve
 
i get some errors please help mee..... #include<iostream> #include<conio.h> #include<stdio.h> using namespace std; struct addr { int classroom; i...
[3 replies] Last: Hello jebin, Welcome to the forum. It would be helpful if you would ... (by Handy Andy)
cannot convert from 'const char [5]' to 'char *'
 
Hi there, I am really new to c++ so be gentle. I am following 'thecherno" lessons on youtube. He uses the code below but when i use it i get a compiler e...
[4 replies] Last: thanks all (by skidmark)
making a Password with string, do,while, if and else
 
Hey guys first let me tell you that i am taking class of basic programming and i am a little slow on learn the codes. Okay my question is how to make a loop st...
[7 replies] Last: Handy Andy (1353) Don`t worry i already fix it i change practically... (by Redstar6)
Link errors with my Doubly Linked List Class Template?
 
I keep getting Link errors when trying to run my code. I have 4 LNK2019 Errors saying that there is "unresolved external symbol". So I assume at run-time the co...
[4 replies] Last: As @dhayden said you can put the code in a #include "DLLTemplate.i" ... (by globaltourist)
24 hour clock
 
I am writing a program for class where it converts from military time to standard. Everything else seems to be working fine until I type in 60 for the minutes. ...
[4 replies] Last: Here is your code with comments and code tags. See my comments below t... (by dhayden)
ROT13 encrypter help
 
I'm new to programming in c++, but i do have two years of experience in python, but I am moving into c++ because i think it's better for the field of work I wan...
[3 replies] Last: It takes a while to learn to read the error messages, but once you 'ge... (by jonnin)
Printing text x times in one line?
 
Is there any way to do the following without an error? #include <iostream> using namespace std; int main(){ cout << "This will be printed 3 time...
[2 replies] Last: Woah! Thanks didn't expect this^^ (by Sigge414)
Simple compile time/cout error
 
I am trying to make a table for my beginners C++ class. In doing so, I have been using the Cout command. My question is, Is there a limit to how many character...
[2 replies] Last: Ah, Thanks! I don't think ill forget this in the future. (by Awillits)
Make files and doxy files
 
Hey guys. So i've got this object oriented programming class i'm in and the teacher isn't very good at explaining anything. Anyways we've got an assignment due ...
[2 replies] Last: Read the introduction to GNU Make: https://www.gnu.org/software/make/ ... (by mbozzi)
HELP? "Id returned 1 exit status"
 
How do I get this error to go away so I can successfully compile and run? #include <iostream> using namespace std; //function prototypes void getNumber...
[1 reply] : Check your spelling and remember that C++ is case sensitive 'A' is not... (by jlb)
by Innoox
Compare elements of the string.
 
Good day, I need to get several numbers from the user and compare it. If they are growth - print it to the screen. If decreasing - another output. In my code...
[1 reply] : I need to get several numbers from the user and compare it. If you'r... (by jlb)
Why is an exception thrown whilst removing a node from a doubly linked list?
 
Hello, I have written a function to relink and delete a node from a doubly linked list data structure. I keep getting exceptions thrown in relation to faili...
[3 replies] Last: Hello, Since tidying up the switch statement in the main, I have bee... (by Shishykish)
Issues with a.out command
 
Hi, I hope someone can help me as I've spent the last 2 days trawling the internet for a solution but to no avail. I am very much a beginner and starting ...
[3 replies] Last: Repeater - Thanks very much. I knew the file was a .exe file but as th... (by mitchellleary)
how to run a polymorphic function within a polymorphic function ie doubledispatch
 
I am trying to call a polymorphic function area_calc() within a polymorphic function area(). For some reason I am getting type Identifer Unit is not defined fo...
[9 replies] Last: isn't double dispatch mean running a polymorphic function inside a pol... (by masterinex)
Why do I get errors whilst assigning pointers to a linked list?
 
Hello, I have a doubly linked list telephone directory programme. I have a function that makes the list whilst also making links with pointers to other stru...
[2 replies] Last: Hello, I have since renamed and reassigned them. It is working just ... (by Shishykish)
by cidex
Calculation problem
 
Hello, can someone please explain what is wrong with my code/calculation? With my calculations on my calculator the values should be right, but it doesn't outpu...
[6 replies] Last: Yep, modulus is definitely the way to go here. lastchance's code is ve... (by Ganado)
Need help with something.
 
I am practicing arrays, but then whenever I try to run this code, it shows up Enter 10 numbers. First array is 2686728 Process returned 0 (0x0) Here i...
[2 replies] Last: Thanks for the fast reply. (by ParadOx22)
Hello everyone
 
Hello everyone I am a new Member. Because not understand the activity forum page for how people are looking forward to help. Thanks
[1 reply] : Welcome. If you have a C++ related question, just ask in one of the p... (by kbw)
Integers and EOF
 
my programm needs to read integers (negatives and positives) from the user in a single string. After it reads all the integers, it should read eof and just disp...
[2 replies] Last: it works and thanks a lot also for the explanation! (by lelekos)
Sorry, can You help me to solve problem with getline in looping?
 
I cant to write something with getline in looping. #include <iostream> #include <stdio.h> #include <string> using namespace std; typedef struct { ...
[1 reply] : You have a number of issues. - Your code as presented seems to have u... (by lastchance)
January 2018 Pages: 1... 1011121314... 22
  Archived months: [dec2017] [feb2018]

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