[try Beta version]
Not logged in

Beginners - April 2017 (Page 19)

by Meden
Download txt file
As a fun side project for my C++ education, I want to learn how to download a txt file from the inte...
Apr 14, 2017 at 4:14pm
[2 replies] Last: I'm sorry, I may need some further clarification. szUrl is the dow... (by Meden)
calling function into main.
hi i cant figure out how to call a function into main this is the function- im passing a vector ov...
Apr 14, 2017 at 3:23pm
[4 replies] Last: thanks! that worked (by Bluexorcist)
bubble sort issues
I having trouble with my bubble sort in my sorting function(sort_array) Am not sure if its a syntax ...
Apr 14, 2017 at 1:56pm
[4 replies] Last: std::swap is in <algorithm>, so OK. Oooops! Terrible bloop! :$ Thank... (by Enoizat)
passing 2D array to a function using double pointers?
So I have to write a program that will count the cubic values of two-dimensional array elements. The...
Apr 14, 2017 at 1:33pm
[1 reply] : Here is a start to how you can declare you dynamic 2D array and pass i... (by closed account 48T7M4Gy)
by tom457
Purpose of Bool Function
In the following sample program, I'm not entirely sure why bool addNumber(int); is a B...
Apr 14, 2017 at 1:32pm
[8 replies] Last: Using a function that returns bool (or int) would make the code cleane... (by boost lexical cast)
by Chamat
Removing leading zeroes from an array of integers
I have an array of integers that may result in many leading zeros such as 0000000000000000012...
Apr 14, 2017 at 12:31pm
[11 replies] Last: Since you're using a fixed length array, you can't remove the digits. ... (by dhayden)
Write a program to read 4 numbers and find the maximum, the minimum and average.
what i took in class so far: if-else statement switch for loop is it even possible to do it wi...
Apr 14, 2017 at 12:18pm
[2 replies] Last: thanks (by Lockfiction)
Creating a Window (Win10)
I am just beginning to learn C++ (in the hopes of creating a little program of mine I've wanted to d...
Apr 14, 2017 at 8:24am
[8 replies] Last: I'll bear that in mind. It's probably best to use Win32 then, just to ... (by LjSpike)
by Drakk
Struct arrays and functions to print them
Write your question here. I must be doing something wrong here, i am attempting to take a structure...
Apr 14, 2017 at 6:38am
[4 replies] Last: That's amazing, i can almost see how it works....I will try to use thi... (by Drakk)
Close a window instead of minimizing it!
I'm looking for a C function that closes a window i've tried CloseWindow(HWND) and i'm unsure of how...
Apr 14, 2017 at 4:26am
[1 reply] : You can try SendMessage() with WM_CLOSE. https://msdn.microsoft.com/en... (by integralfx)
Write a program that works in the same fashion as a message composer in the old mobiles.
The program must receive integer input. When use enter 2 the program outputs letter ‘A’ and if 2...
Apr 14, 2017 at 3:46am
[no replies]
How do I output my code correctly?
Hey Yall, So I have two questions: One, I am working on a 2d array to initialize it to an enum valu...
Apr 14, 2017 at 2:19am
[2 replies] Last: I don't know why, but my code keeps crashing my compiler. I am using a... (by pdgaming)
by rufi0h
While loop when opening a file
Please help me figure out where my while loop is not functioning correctly. The goal is to read num...
Apr 14, 2017 at 1:37am
[7 replies] Last: Just to make it easier to read :+) It's an important concept. Another... (by TheIdeasMan)
Need help with the Knight Tour problem
I'm new to programming and could use some help. I need help getting started on this. I'm lost on how...
Apr 13, 2017 at 11:56pm
[1 reply] : Well, first you will have to figure out how it works on a chess board.... (by SamuelAdams)
by ST0995
Raise the first digit to the power of the second digit.
I'm having trouble with my homework assignment because I'm stuck on this problem: If the number is ...
Apr 13, 2017 at 11:26pm
[7 replies] Last: Thanks that helps a lot! (by ST0995)
Max & Min
Given the integer variables x, y, and z, write a fragment of code that assigns the smallest of ...
Apr 13, 2017 at 11:12pm
[1 reply] : Try it, test it, see if it works. Spoiler, it doesn't. First, you are... (by joe864864)
Reading file into a Array
I'm creating an address book program that should prompt user for a filename and read it into an arra...
Apr 13, 2017 at 9:03pm
[no replies]
BST balance
I am trying to balance a tree by height (an AVI tree). When I give it a tree like this: Pre Ord...
Apr 13, 2017 at 9:02pm
[1 reply] : In your CheckHeightAndRotate, you need to add a while loop right after... (by Lord Razgriz)
stuck with the functions
Help! i can't seem to figure out how to call the function results(); am doing something wrong here? ...
Apr 13, 2017 at 8:40pm
[4 replies] Last: i tried the option for when the two players are tie and then they ne... (by AbstractionAnon)
by artrox
Simple tree structure using vectors. Looking for feedback
Hello. I've implemented a simple tree structure for a computer vision project. It's the first time I...
Apr 13, 2017 at 8:17pm
[no replies]
April 2017 Pages: 1... 1718192021... 34
  Archived months: [mar2017] [may2017]

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