[try Beta version]
Not logged in

Beginners - March 2019 (Page 21)

Program to count number of words
Im trying to write a program to count number of words in a sentence. But whatever I input I always g...
Mar 6, 2019 at 2:31pm
[1 reply] : The first thing to do is upgrade your compiler. > #include<iostream.h... (by salem c)
condition check is not working out as intended, why?
I'm making a small networked game, still learning networking so I might be missing out on something....
Mar 6, 2019 at 2:24pm
[6 replies] Last: Thanks , I had been up all night and did never take into account that ... (by MatiasMunk)
error: ld returned 1 exit status
When ever I try to run my program I get an error saying ld returned 1 exit status and I can't figure...
Mar 6, 2019 at 1:54pm
[1 reply] : void report(string name , string letter , int id , int grade , int o... (by lastchance)
Errors on OSX
I am on OSX and running Netbeans as my IDE when I build my code I get this error Undefined sy...
Mar 6, 2019 at 1:45pm
[6 replies] Last: I appreciate the help. I think I have narrowed it down to my specific... (by miketheknight2016)
how to make a program run in the background on chrome os?
i'v writed a keylogger for some fun and for beginning purposes.. to make it work totally i have to ...
Mar 6, 2019 at 1:04pm
[no replies]
why this test cases wont automatically finish
i input test cases 5 5 ->5 is the aim node, 5 is edges 1 2 ->edges 2 3 ->Edges 3 4 ->Edges 2 5 ->Edg...
Mar 6, 2019 at 12:14pm
[1 reply] : i need to input enter at last iteration why? Actually your code does... (by Enoizat)
file
Hi, I am trying to write a program where the user inputs strings (name, last name, phone number), ...
Mar 6, 2019 at 10:55am
[6 replies] Last: Hello nypran, This may help: char cont{}; do { // lines 20 - 34 ... (by Handy Andy)
File save with iteration number
Dear Friends I want to save file with iteration number. What changes i have to do ? fopen...
Mar 6, 2019 at 7:50am
[1 reply] : char filename ; snprintf(filename,sizeof(filename),"%d velocity.plt"... (by salem c)
Is there a way to make this faster?
I migrated following from REXX. As I am new to C++ my question is, if there is a chance to speed it ...
Mar 6, 2019 at 7:39am
[2 replies] Last: Just replacing array by vector results in a runtime reduction from 1.8... (by MikeStgt)
Convex Hull Jarvis march and Graham scan
https://ideone.com/mK1Xj7 //I tried to place code in tags but it was too long Can I get the same ...
Mar 6, 2019 at 6:01am
[2 replies] Last: What I want ? Linked List which I have does not have functions for S... (by nowy20180820)
by Kreons
Unknown LNK2019 error
I keep getting these error messages "error LNK2019: unresolved external symbol "public: __cdecl Read...
Mar 6, 2019 at 5:48am
[2 replies] Last: ok problem solved. I forgot to take out the constructor. Thanks, ne555... (by Kreons)
stuck in test case
i would like to know , what is wrong with my code below i input test case: 2 3 2 1 2 2 3 4 4 1 2 2 ...
Mar 6, 2019 at 5:30am
[2 replies] Last: > scanf("%d %d\n", &awal, &akhir); /*stuck here in last iteration */ Y... (by salem c)
Call Int32 Function From Main
I am learning C++ and I want to run a method, it doesn't have a return type or need any params passe...
Mar 6, 2019 at 2:27am
[2 replies] Last: You can call the function just as you did in line 3, unless you need t... (by closed account E0p9LyTq)
Question related to software architecture
Heyyy beautiful people! I have a question to ask :) Okay so I have 2 projects in my solution. In 1...
Mar 6, 2019 at 2:26am
[3 replies] Last: Hey guys, thanks for the feedback. Project B does perform window I/O... (by Angela1998)
Solved: init bool array
In the 'Prime' thread was a question about initializing an array of type bool, see http://www.cplusp...
Mar 5, 2019 at 9:42pm
[4 replies] Last: Thank you. (by MikeStgt)
When should I break up math equations or pre-calculate values, especially when concerning loops? (1,2)
I know that functions are used to eliminate repeated code, but I figured that a similar concept woul...
Mar 5, 2019 at 9:38pm
[26 replies] Last: Yer welcome! But the point was: Using Abstractions Makes Life Easy. (by Duthomhas)
Help explaining the code please
Hey guys this is the problem I have to solve and explain, can you please help me out a little with i...
Mar 5, 2019 at 9:36pm
[1 reply] : Have you learned about recursion? This can be solved pretty easily th... (by dhayden)
Does this program work, or is it my compilier?
Hello everyone, new guy on the forum here. I've looked all over youtube and google as well, but I ca...
Mar 5, 2019 at 8:57pm
[5 replies] Last: For about US$12 you can buy yourself a USB stick with a fairly large c... (by Duthomhas)
Calculate the average
How would I calculate the average of the numbers from the input file. I would like to put the averag...
Mar 5, 2019 at 8:36pm
[2 replies] Last: So, you have a list of five test weights:     { 10, 15, 20, 25, ... (by Duthomhas)
Creating a running total from input file
I'm trying to create a running total that can calculate the weighted average of the numbers in each ...
Mar 5, 2019 at 8:06pm
[3 replies] Last: I will respond in your other thread. (by Duthomhas)
March 2019 Pages: 1... 1920212223... 25
  Archived months: [feb2019] [apr2019]

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