General C++ Programming - October 2015 (Page 14)

Arrays (Unlimited Input)
 
What I am trying to do, is allow the user to input any number of variables (for ex: 1 6 945 fhds)and...
[1 reply] : Arrays cannot be resized - once they are created they are stuck with t... (by LB)
by Suar
Writing a function problem..
 
Hello everyone, I came across this question and it's driving me crazy that I don't seem to know how ...
[2 replies] Last: void DIYPrint(char c, int nteeth, int amp=5) { int i,j,k; for (i=1;i... (by hdj)
problem in receiving a data within a socket
 
Hello. I am using UDP protocol to receive a data from another computer in win32 API. For receiving ...
[8 replies] Last: One more thing since I am receiving a data from remote computer so I h... (by mandar678)
Arrays question
 
I have a question that made me crazy : My question might not be doable. if i have an int array of...
[2 replies] Last: There are two big issues that jump out at me: 1) You call add multipl... (by Danny Toledo)
LinkList problem
 
list_driver.cpp #include <cctype> // Provides toupper #include <iostream> // Provides co...
[1 reply] : Use [co de] tags. You didn't ask a question. What is the problem?... (by Zhuge)
Running program for a period of time
 
Hello! How can I make my code to run for a fixed period of time? Something Like runfor10seconds...
[2 replies] Last: http://stackoverflow.com/questions/9240109/how-to-run-a-program-for-a-... (by closed account 48T7M4Gy)
why am I getting expected primary-expression before { token
 
The problem is "expected primary-expression before '{' token" in this part of the code: ----------...
[5 replies] Last: Change your Code Blocks settings and point it to C:/MinGW or whatever ... (by LB)
a question for Code::blocks user
 
Hi, I recently started to use code::blocks and my problem is in compiler flags, c++14 or c++11 stand...
[1 reply] : It is likely that the version of GCC/MinGW bundled with Code Blocks is... (by LB)
X Window system
 
Hello, i cant find docs for the X window System library(link pls). By the way can u give me some use...
[no replies]
OpenGL 3D Zoom in and out
 
How do I zoom in to near plant and out. I can rotation the object. But it not about rotation. It all...
[no replies]
by yj1214
Could someone please help me moving a screen?
 
I have been working to fix this problem for a long time but I still don't know how to fix it. I have...
[2 replies] Last: See: http://s4.postimg.org/l327q8ffx/window_reposition.png #include ... (by cire)
Search Trie for prefixes
 
Hi, I have implemented a Trie structure in C, and implemented insert and search function. I have a ...
[2 replies] Last: The reason your original failed is because you never assigned the valu... (by doug4)
How to Add and Subtract arrays?
 
I need to make a calculator that adds and subtracts arrays. The problem the professor didn't really ...
[4 replies] Last: There are two parts to this. The first is understanding the problem an... (by kbw)
Enumeration Issue/learning point
 
I see that with enumerated code often times will see this: enum Animal , , , ; then later in code:...
[7 replies] Last: Got it, finally. Thx! (by technologist)
How to loop back to main menu?
 
Okay I made this program which basically has a menu and will have different options given at the men...
[3 replies] Last: can someone help ? :( (by closed account 9ypNhbRD)
HP Fortify Privacy Violation issue.
 
HP Fortify flags a privacy violation critical error when writing an id to archive. Below is the mock...
[no replies]
C program to prints out letters in alphabet order
 
Helo want to create program that print out letters in alphabetical order in input number defines h...
[1 reply] : #include <ctype.h> #include <stdio.h> #include <stdlib.h> const char... (by MiiNiPaa)
reversing a combination of int and character
 
dear senior programmers can you help me with a programm that has a single user input that will rever...
[2 replies] Last: Thank you so much (by Geraldization)
let them talk
 
What do u have to say
[4 replies] Last: It matters because it wastes peoples' time. Someone might spend the t... (by MikeyBoy)
Need Help Adding Loops
 
#include <iostream> using namespace std; int main() { int num; cout << endl...
[1 reply] : If you're not using a container class like vectors or arrays, you're g... (by YFGHNG)
October 2015 Pages: 1... 1213141516... 27
  Archived months: [sep2015] [nov2015]

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