
please wait
by locolo
Array vs Struct - exam question!!
|
Describe 2 differences between an array and a struct: An array can only hold one type of data (int, char,float). While a struct can hold more than one type o... |
Jun 3, 2014 at 4:09am
[1 reply] : http://www.programming-techniques.com/2011/08/difference-between-array... (by locolo)
|
by locolo
Division: using floats and integers
|
Assuming that a variable x and y are integers, while variable a is a float. Identify and explain the problem with the following code. Re-write the code with th... |
Jun 3, 2014 at 4:03am
[3 replies] Last: Thanks, I forgot about type casting!! (by locolo)
|
by CocaCola9898
Have to use loop to find sum between two integers. HELP!!
|
I have to use a loop to find the sum between two integers that the user chooses. The integers can be negative. Im having trouble as I am a very new user to C++.... |
Jun 3, 2014 at 3:36am
[4 replies] Last: @ Long Double Main Hi long double main! I'm still supposed to be bobt... (by BobTheZealotIsEpic)
|
by locolo
Pass by reference/return value - advantages and disadvantages
|
Explain the difference between pass by reference and using return values with respect to both how these features work and the advantages and disadvantages of ea... |
Jun 3, 2014 at 3:31am
[2 replies] Last: Return value is used when the function needs to return only a value. I... (by locolo)
|
Tic Tac Toe game |
I love gaming and its one of the reasons I got interested in coding and I am currently working on this tic tac toe game and I would love if you guys could help ... |
Jun 3, 2014 at 2:15am
[1 reply] : The exact same thing you asked on stackoverflow. It's better to ask it... (by BobTheZealotIsEpic)
|
by powerstate
Problem of Creating user define functions of XLL (excel)
|
When I debug this function into XLL file and run it in excel I get a weird number 1463342408 for wpsum(2,3). any body can help me on this. Many thanks! /... |
Jun 3, 2014 at 12:35am
[2 replies] Last: hello (by powerstate)
|
Running Half an If Statement |
I am currently having an issue with the code below. It is a rather simple code that takes a users input to add food to a menu and can take that input and remove... |
Jun 3, 2014 at 12:29am
[3 replies] Last: Recursive stacking may eventually hit a limit, a work around would be ... (by closed account j3Rz8vqX)
|
by venros
C++ Regex -Reading HTML Tags
|
Hi guys, I'm trying to read matched html tags ex: <html> == </html> <b> == </b> etc. I tried doing this with strings and substrings but got reall... |
Jun 2, 2014 at 11:46pm
[8 replies] Last: sadly it is not working with my VS, i will book mark this for future u... (by venros)
|
by Mechennyy
Why doesn't code reverse string?
|
Hello everyone, I unfortunately had to take a little break from learning programming so I have forgotten a few things and a little rusty, so I apologize if the ... |
Jun 2, 2014 at 11:09pm
[4 replies] Last: Thanks guys. I can't believe I forgot about starting at 0 and the '\0... (by Mechennyy)
|
by Jaster456
Dynamic allocation by eltony
|
what it is dynamic allocation elton ? |
Jun 2, 2014 at 10:18pm
[1 reply] : I don't know who elton is. Dynamic allocation is allocating memory (us... (by closed account 2UD8vCM9)
|
by Sgreen
CSC noobie help
|
Hello brand new to programming and I need a little boost if possible. I'm sure this is something simple but I am receiving an error with this project: #... |
Jun 2, 2014 at 9:56pm
[2 replies] Last: Line 17: hint: spell celsiusAtDepth (by closed account 2UD8vCM9)
|
by Jko89hj
Return a sequence of equations to the beginning of the program
|
I am using MS Visual C++ 2010. I have written an equation that works fine. There are two additional equations that follow it, each of them using the prior equat... |
Jun 2, 2014 at 9:52pm
[2 replies] Last: Thank You!!!!! John (by Jko89hj)
|
by kmartar
Two errors occuring, I don't know what they mean,
|
This program compiles correctly but when I go to run it I get two errors. They are: Error 1 error LNK2019: unresolved external symbol "double __cdecl kenteicEn... |
Jun 2, 2014 at 9:51pm
[3 replies] Last: Thank you. That is two programs that I have had in a row that a typo k... (by kmartar)
|
by Dexter 3202
how do you do a loop for this??
|
I'm a beginner and I have a program that turns names into codes but I just have to fix the loop. I don't know how to use the arry so that stumps me the most so ... |
Jun 2, 2014 at 9:43pm
[4 replies] Last: Check in the loops section: http://www.cplusplus.com/doc/tutorial/cont... (by closed account j3Rz8vqX)
|
by kmartar
Not sure what is wrong with this thing.
|
I am getting an error on line 31 and I cannot figure out what is wrong. Also when I need to go in a retype something or add something in the middle of a stateme... |
Jun 2, 2014 at 8:41pm
[4 replies] Last: Peter87 thank you so much! cire you are awesome thank you for the fin... (by kmartar)
|
by cluelessp
Palindrome
|
I have this program that would run a Palindrome, but it includes blank spaces, punctuation, and is case-sensitive. And i need to ignore the blank spaces, punctu... |
Jun 2, 2014 at 8:24pm
[3 replies] Last: you would need to create a function which takes the string of the pali... (by alex067)
|
by alex067
Mixed Number Program
|
I have a program which allows the user to input mixed numbers such as fractions and performs addition, subtraction, division, multiplication operations. Howe... |
Jun 2, 2014 at 8:21pm
[4 replies] Last: it will not properly calculate a mixed number + a mixed number when de... (by alex067)
|
by squarehead
namespace confusion...
|
I am trying to be very careful about using namespaces, but it seems like my compiler is aware of names even though I have not provided a namespace. How does thi... |
Jun 2, 2014 at 7:07pm
[3 replies] Last: It partially circumvents the whole idea with namespaces. But I guess i... (by squarehead)
|
by tdk93
What happens if a function returns but i take the address of it's local variable?
|
I don't understand how this program is still able to give correct output. #include <stdio.h> int* fun(); int main() { int *j,d =5; j ... |
Jun 2, 2014 at 6:54pm
[2 replies] Last: When you call fun() at line 9, fun() allocates local storage for k. W... (by AbstractionAnon)
|
STL Map Data Type |
I was having some issues using the map data type from the STL. At first I was just passing the map variable to various functions, add, remove and list. In the a... |
Jun 2, 2014 at 6:33pm
[2 replies] Last: I just realized when I used the reference last, I didn't change the fu... (by horrificmonster)
|