Beginners - November 2015 (Page 34)

Differences in declaring a struct variable
 
What are the differences between these two declarations for a struct? Btw, I wrote this code; this ...
[1 reply] : Both var1 and var2 is stored on the stack. var2 points to an object on... (by Peter87)
Struct of array
 
Need to output the winning division sales of a company's region using struct and an array. I'm havin...
[8 replies] Last: I see why i needed to do DIV div_info = { { 0, "Northeast"}...} ... (by phatboy)
by HG319
Traverse a leftist tree
 
I am given a problem where I need to search for any element in the leftist heap, not the min. I am h...
[2 replies] Last: Traversing through an AVL tree and Binary are easy to me, I was trying... (by HG319)
HELP ME PLEASEE!!!
 
This is my question.. is there any source code for this question.. I cant find and im using Visuall ...
[2 replies] Last: I have tried this #include<iostream> #include<windows.h> #include<con... (by noob coder)
array with two ints for the mode
 
I need help to cout my two modes in my array. I have both 3 and 4 with the equal amount of integers ...
[7 replies] Last: I really appreciate the help. My homework was already turned in, but ... (by cire)
advice would be wonderful
 
ok so i am way behind in my studies i am a senior about ready to graduate with a degree in game desi...
[3 replies] Last: I'm also sorta new so I can't be of much help but some people gave me ... (by ProgrammingNerd9311)
Templates Class
 
Can someone please tell me whats missing It shows that there is an error and i cant figure out what...
[3 replies] Last: > It says too many arguments foo.cpp|88 col 18| error: wrong number ... (by ne555)
cout array one page at a time
 
i have an array of 20000 elements and i need to print out but it has to be done in a clean matter ...
[3 replies] Last: I would like to do it like that: void showarray(const int array , i... (by Thomas1965)
Array Help Needed V2
 
As you can see, in the while loop I am trying to do the statements. Then print out the array. My pro...
[1 reply] : If you need it to print again, just call printArray again. But call ... (by JayhawkZombie)
error at the final result of a linked list
 
what i have to do to have a wright result? the out put is always one number like 5555555 or 666666...
[1 reply] : To build you linked list, you'll need some dynamic allocation. Inside ... (by JayhawkZombie)
Queue and Stack
 
Hello i have queue with n element i want to pop n/2 element and push them to another queue for e...
[3 replies] Last: I need to call second teller and half of customer ll move there #in... (by content)
SET THEORY, Dynamic Memory
 
I need to do the following: create a union method (i.e. union(set)) that creates a union for two...
[no replies]
inputting appointments
 
Hello, This is homework. I've made a program that lets me set up appointments I could enter how...
[3 replies] Last: Thank you! I'll post back once I've rewritten my program. (by zenakent)
Working through Classes for beginners
 
I have the following code from C++ How to Program and it gives the following error when compiling. ...
[5 replies] Last: Thanks again! I will take a look at man clang and digest - cheers! (by jamesfarrow)
can someone explain me this program?
 
This program tells us the number of digits we enter. For example; 1. If we enter 1, the program will...
[1 reply] : This is base on integer division. There is no position after the decim... (by coder777)
Reading a file and sorting by columns
 
To read a file with the format: Susan 24 23 60.4 Sam 32 19 93.5 James 16 92 48 and sort it b...
[no replies]
I am making a Pangram and Error occurs "There is no match for Operator"
 
Error which occurs is, no match for operator >= and <=, It will be so helpful if you guys guide me t...
[1 reply] : You are trying to compare a string with an integer. The compiler doesn... (by Peter87)
bubble sort not working
 
Hello, I can't get this bubble sort to work? I think it's a problem in the arraysort() method itse...
[4 replies] Last: So what should it be instead ? Pass int by value. Yes, pointer can ... (by coder777)
by GilTea
Code Simulation issue
 
Hi there, I have been working on a program that has the following features and have come pretty c...
[2 replies] Last: Now the issue I am having is that when I run my program the starting ... (by cire)
Codeblocks error when build
 
Hi guys , I looked on the manual and on google as well without finding a straight answer to what I a...
[2 replies] Last: Ok Thank you, I will keep digging. (by LifeFiber)
November 2015 Pages: 1... 3233343536... 53
  Archived months: [oct2015] [dec2015]

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