[try Beta version]
Not logged in

Beginners - January 2019 (Page 9)

?!?! Ideas Anyone !?!?
 
...
Jan 17, 2019 at 7:10pm
[18 replies] Last: @Grime, Here is a simple implementation of the sieve. Even in this un... (by dutch)
by AL88
What am I doing wrong with these logic gates?
 
I am trying to write a program that takes a poll on favourite colours from 10 different users but i ...
Jan 17, 2019 at 6:27pm
[4 replies] Last: #include <iostream> int main(void) { int a=8, b=8, c=0; s... (by Cheddar99)
Problems with Vectors in Microsoft C++ (1,2)
 
I'm having a problem using STL vectors in Visual Studio 2017. I know there are some differences in ...
Jan 17, 2019 at 5:47pm
[23 replies] Last: It happens. Now you know what looks like one problem can be something... (by closed account E0p9LyTq)
Programming Ending without meeting both criteria
 
So, I have this assignment and basically, I need to run the program until all seats are sold out of ...
Jan 17, 2019 at 4:55pm
[6 replies] Last: Sorry I should've explained better I did that and what JL said. When I... (by glasseater)
Newton's Method
 
Hi, I have a written the code for Newton's method by using the Pseudocode from my professor. The pr...
Jan 17, 2019 at 3:58pm
[5 replies] Last: debugging just shows you what is happening. it does not omit anything... (by jonnin)
String
 
I donw know how to make a program that allows a user to enter a word and then The program desplays t...
Jan 17, 2019 at 3:30pm
[2 replies] Last: Thanks. It helped a lot. (by Mister H)
Need help !
 
Hi, my son needs help. There is a fault line 7 and still? 1 #include<stdio.h> 2 #include<math.h> 3 m...
Jan 17, 2019 at 3:00pm
[2 replies] Last: Thank you (by majstor)
by Kiryu
Why does the following snippet not compile?
 
struct A { virtual void method(int) {}; int method() { return 0; }; }; struct A_child : public ...
Jan 17, 2019 at 2:58pm
[3 replies] Last: The issue isn't just that they are the same identifier, that's call ov... (by Ganado)
Sweep line algorithm
 
https://www.hackerearth.com/practice/data-structures/trees/heapspriority-queues/practice-problems/al...
Jan 17, 2019 at 2:08pm
[4 replies] Last: I saw data structures written (by closed account 1vf9z8AR)
by ksau
Function pointers drive me nuts ;-)
 
Dear experts, I have a widget class that displays values on a dashboard. These values are generat...
Jan 17, 2019 at 11:42am
[4 replies] Last: Very cool, thank you all for the quick replies! I will now try to unde... (by ksau)
How to (set size or resize) and fill: Two dimensional string array inside a function?
 
Hi I need to make a function that modify and write, a two dimensional string array passed as an arg...
Jan 17, 2019 at 9:53am
[2 replies] Last: @salem c (293) thank you very much! it works perfectly, and very profi... (by vincentthorpe)
Average line from a text file???
 
I'm very new to C++ and I have an assignment that has to do with reading in a text file and finding ...
Jan 17, 2019 at 6:24am
[2 replies] Last: This may not be quite perfect, and salem's code looks easy to follow, ... (by Cheddar99)
Best way to store records / fields of csv-files in memory?
 
Hello, my csv-file has 1000 records and every record has 15 fields separated with "/". Now I want...
Jan 17, 2019 at 6:03am
[6 replies] Last: omg ...yes I remember ... I read it ... about heap und vectors but I f... (by formatyes)
by ace184
Would an if statement work here?
 
I am trying to figure out how to make a user input a certain number of students and certain number o...
Jan 17, 2019 at 3:23am
[4 replies] Last: > I am having trouble on figuring out just how to write and implement... (by JLBorges)
What do you do when you don't know how to solve a problem?
 
I don't mean how,to code the solution though. I was looking at spoj this morning and I forget the pr...
Jan 16, 2019 at 8:46pm
[12 replies] Last: Lol oh. The only one I have right now is introduction to algorithms. I... (by bscruggs99)
?? Non-Repeating Random Number Array ??
 
Is there any way to create a number array that prints out 20 random numbers with no repeats? Could ...
Jan 16, 2019 at 7:01pm
[5 replies] Last: - Create an array from 1 to 100. - Select a random index into the arra... (by dhayden)
Tetris Help
 
I am trying to start a project that makes the game, Tetris. For this part, I need to generate seven ...
Jan 16, 2019 at 5:14pm
[9 replies] Last: I can't use classes to make the Tetris game. I have that code because ... (by Maxster)
Facing problem in structures
 
Hello guys! I was studying structures. Kindly see the code below here. So it is taling information ...
Jan 16, 2019 at 4:19pm
[14 replies] Last: Regarding the original problem, let's start by moving the reading and ... (by dhayden)
Is it possible to create a template that accepts type T which is an object or pointer to an object?
 
Hi guys, So I am wondering is it possible to create a template that will handle two different typ...
Jan 16, 2019 at 3:22pm
[8 replies] Last: Thank you for explanation, that was very helpful. (by Unspoken)
by Bopaki
This program works fine if I work with numbers but not with strings
 
If the variables are numbers I get the expected output but if the variables are strings it bombs ou...
Jan 16, 2019 at 9:09am
[2 replies] Last: Okay it now works fine. I changed the template type to void and every ... (by Bopaki)
January 2019 Pages: 1... 7891011... 17
  Archived months: [dec2018] [feb2019]

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