Beginners - November 2015 (Page 5)

fatal error LNK1120: 2 unresolved externals
Hi i try to compile code but it appear ,can someone help me /*FlyingStrings.h Useable to get out messages from units Used to output Bounty messages */...
Nov 28, 2015 at 11:54pm
[3 replies] Last: Why is FlyingStrings::data static? Where did you initialize this sta... (by jlb)
Manipulating ints that are in a string variable type
I'm trying to write a program that uses the Mod 10 check to verify credit card numbers. One of my function headers are called sumOfDoubleEvenPlace which should ...
Nov 28, 2015 at 9:34pm
[5 replies] Last: Oh okay. I had just read somewhere that it was bad practice to use 'us... (by Robert1234)
Robotics
i dont know if any of you would know but how can i implement my c++ code into a robot how do i do it? If you know any sites that could help me please link t...
Nov 28, 2015 at 9:28pm
[1 reply] : Here's one: https://www.arduino.cc/ (by koothkeeper)
How to write a recursive function in reverse?
So I'm writing an assignment that prints out these number that change if the user entered number is a certain value (see code). This is done with a recursive fu...
Nov 28, 2015 at 8:37pm
[no replies]
need help with aranging data from an in file
been working on a bank project for school that runs from files accounts and transactions im stuck now with getting the input from the second input file only ...
Nov 28, 2015 at 8:33pm
[7 replies] Last: kenmort thank you i will be working with that code i havent learned ab... (by apurpledragon)
A code that needs to loop
Here is the finalized code i came up with with your help. sorry for deleting the original problem didnt realize i wasnt supposed to do that. #include <...
Nov 28, 2015 at 8:26pm
[9 replies] Last: seriously i learn more from you guys than i do in school its wonderful... (by apurpledragon)
by Roody
sum of row and column
Hi there , i have question about 2d array , the question is a summation of each row and column with specific output form , the question exactly is : Write ...
Nov 28, 2015 at 8:22pm
[19 replies] Last: No offense was taken - not even masters at the art of giving it have m... (by closed account 48T7M4Gy)
by ebucna
nested class
can anyone tell me whats wrong with my code, the compiler says: line 25: expected identifier before numeric constant line 25: expected "," or "..." before nu...
Nov 28, 2015 at 8:16pm
[14 replies] Last: I ended up doing this: class Flights{ private: string departureA... (by ebucna)
Cannot find the missing ';' (1,2)
Hey guys so after the loads of questions I asked and some tips on writing clean code I got, I made this program. codepad.org/W7F9DWlw but am still facing an err...
Nov 28, 2015 at 7:19pm
[28 replies] Last: Here it is //E.L.I.T.E.S. corps #include <iostream> #include <strin... (by crazyjoshua27)
Recursion/Looping Confusion
I've been trying to write out a program to deal out a specified number of cards. Each card is represented by an index between 0 and 51, for a grand total of 52....
Nov 28, 2015 at 6:07pm
[3 replies] Last: Sorry, I was eating Turkey. is there anyway I can tell the compiler... (by keanedawg)
by jailil
Candiate Programming- Percent issue
My programming professor is not very clear and makes me ashamed to ask questions lmao So the program is "Write a program that allows the user to enter the last...
Nov 28, 2015 at 5:29pm
[8 replies] Last: Below is a suggestion From: /* function to print the result*/ void... (by chicofeo)
Binary Search Implementation
Nearly done with a project, and sadly I had missed the day involving the binary search. I have an array with 100 random integers. I then used selection sort o...
Nov 28, 2015 at 4:36pm
[2 replies] Last: Appreciate the help. The Binary search works, and I REALLY appreciate... (by jonrogers44)
by chipp
class declaration
i was just wanna create header file just for fun, but then, something weird happened: i will just give all of my codes //header #ifndef __mnemonic__ ...
Nov 28, 2015 at 2:42pm
[13 replies] Last: class mnemonic_one { public: mnemonic_one( int = 0 ) { /* ... */ } /*... (by JLBorges)
help with string arrays
how to write this program ? Input a line of text using a C-String Line of size 200. Input a simple C-String (no spaces) Word of size 10. Find out the count ...
Nov 28, 2015 at 2:07pm
[1 reply] : Do you really want to index word with i on line 24? (by cire)
expected a type specifier error
When I try to assign a argument for constructor, error "expected a type specifier" pops out. e.g runway run1(1),run2; But I don't know the problem and how I...
Nov 28, 2015 at 1:59pm
[3 replies] Last: Just because i assign arguments as this, the error pops up. Otherwise,... (by jekaterina)
Bio-Data Program
I've been stuck with this for a long time now. I'm just new to programming and our professor gave us an assignment to create a bio-data program. It's finished a...
Nov 28, 2015 at 1:34pm
[3 replies] Last: Well, what you have displayed only checks the first digit. You will n... (by koothkeeper)
c = a + b and then d = 2*c
Hi there This is my second question www.cplusplus.com in quick succession but any answers should benefit other beginners as well. I know that the code c =...
Nov 28, 2015 at 1:04pm
[2 replies] Last: Thank you for your clear response TarikNeaj. (by jamzcox)
C++ Coding for (x*y)^(5/3)
Hi there Cplusplus users, I am trying to input an equation which uses the pow (power)function. I know that for x^5 the coding is: pow(x, 5) However, the eq...
Nov 28, 2015 at 12:47pm
[3 replies] Last: Thanks ne555. I noted the dot. Thanks Shadowwolf for typing all the c... (by jamzcox)
Read and write file (combine lines in one)
I am given a text file named tr4_1.txt, the file content is below: 1110000000001111 1110100000000000 1000001111111111 0111011101010101 I would like to as...
Nov 28, 2015 at 12:24pm
[4 replies] Last: OKAY! I will try it ! Thanks lots!! (by josephli)
String match algorithm that compares "all at a time"
Just curious, do any well-known string matching algorithms search for matches in lists in this fashion? Edit: Not talking about regex as we are dealing with lis...
Nov 28, 2015 at 12:18pm
[6 replies] Last: thank you helios, that resolves my question! (by elanhickler)
November 2015 Pages: 1... 34567... 53
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.