
please wait
by MaxGreen
2d arrays
|
Hey lads, let me ask you a really good question, Is there a possibility to write for 2d array syntax to insert and display a 2d array "M " using while loop an... |
Aug 26, 2020 at 6:28pm
[5 replies] Last: MaxGreen, be aware that you must not collapse 2-d to 1-d if the 2-d i... (by jonnin)
|
How to allow multiple struct definitions in single argument ? |
I want my void to allow multiple struct definitions from a single argument lets say thats "myStructAny" but I can put there myStructA and myStructB. Is that pos... |
Aug 26, 2020 at 6:10pm
[11 replies] Last: void Render(int aArg,int bArg, myStructAny struct){ if(typeid(struct... (by dhayden)
|
by adam2016
external or internal linkage/ is my book wrong?
|
I'm reading Stephen Prata's C++ primer plus, and he mentions that by default that const variables have internal linkage by default, so const int fingers would b... |
Aug 26, 2020 at 5:09pm
[2 replies] Last: `myName' is not constant, it points to const char myName = 'A'; *myN... (by ne555)
|
by Sanjay852
Are there any programs that help draw .c and .h file relations?
|
I’m looking for a way to visualize how my .c and .h files interact and interface with each other. Is there a program that does that?? Maybe more generally, is... |
Aug 26, 2020 at 12:55pm
[4 replies] Last: understand for c++ if it is still around lists the caller of every fu... (by jonnin)
|
Unhandled exception |
Hi I wrote this program but it throws this exception: Unhandled exception at 0x008938D9 in treta_zad.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0... |
Aug 26, 2020 at 12:10pm
[2 replies] Last: Okay I think I found whats it wrong, the recursion has to be in the if... (by closed account 23q2T05o)
|
by jax16
Loan calc
|
Need some help with this code. It is pretty much a loan repayment calculator. The company only offers 10, 15, and 30 year fixed loans. The interest rates are ba... |
Aug 26, 2020 at 12:03pm
[3 replies] Last: Lines 14-16, I wouldn't use ONE or HUNDRED. 1 and 100 are clearer... (by dhayden)
|
by Mif
How to save text to a file extension.txt?
|
I wrote this code and it works, the problem comes when I insert other data in txt file the first thing I inserted is deleted. How to store the old data in same ... |
Aug 26, 2020 at 5:46am
[2 replies] Last: Ohh thanks you soo much. I think I need to learn more about these mode... (by Mif)
|
by DonnaPin
enums
|
Hi, I am currently learning about enumerations, and I believe I am understanding the basics, but the book goes on to talking about creating variables of the typ... |
Aug 26, 2020 at 12:50am
[2 replies] Last: Hello DonnaPin, To go with jonnin's explanation this may help: ... (by Handy Andy)
|
by raefnal
for loop not working as expected
|
This needs to print two columns of numbers, but it just prints the number 11. I'm sure I'm missing something simple, but any help is appreciated. #include... |
Aug 26, 2020 at 12:48am
[3 replies] Last: nevermind...i figured it out (by raefnal)
|
Question about list initialization |
Hi, I'm learning about design patterns, specifically about the decorator pattern. I don't really understand a part of the example code where they use list initi... |
Aug 25, 2020 at 6:03pm
[5 replies] Last: Glad it helped :) (by zapshe)
|
Question about "new" keyword |
I'm learning about design patterns, specifically about the decorator pattern. There's a bit of code that I don't know what's going on exactly. Here's a snippet ... |
Aug 25, 2020 at 4:59pm
[2 replies] Last: Thanks a lot for the info :) (by brianbathorycpp)
|
by shokoro10
some help please
|
Write a program that displays the contents of a file in four columns titled “Item Name”, “Num of Items”, “Item Price”, “Total”. The total is th... |
Aug 25, 2020 at 12:08pm
[7 replies] Last: thank you i got the idea (by shokoro10)
|
by Faisal440
how i use function in c programing sum of the series
|
1+2+...+n |
Aug 25, 2020 at 9:09am
[2 replies] Last: [quote=Faisal440]1+2+...+n is an arithmetic series . The sum of arit... (by keskiverto)
|
by sarah1993
split vector
|
Hi everyone. I need some advice. How can i split the following vector. For example, row 1 until 10 will be in first column and row 11 until row 20 will be in se... |
Aug 25, 2020 at 3:41am
[8 replies] Last: Hi jonnin , simpler than what I gave?! ... its two lines.. Sorry. I... (by sarah1993)
|
by DonnaPin
What is a module?
|
Hi, I am reading about storage class specifiers, and extern says "allows a variable to be made known to a module" but what is a module? Is it like the cpp file,... |
Aug 24, 2020 at 6:51pm
[1 reply] : The terminology used in textbooks, especially really old ones, doesn't... (by Ganado)
|
by MikeyBoy
CLASS MEMBER VARIABLES
|
You'va already asked this question once, and received answers. Why are you spamming the forum with multiple threads for the the same thing? |
Aug 24, 2020 at 10:25am
[no replies]
|
by JamesHelp
Comparing UTF-8 with a substring
|
I'm trying to print out all the letters in a string until a curly quote is found. However I can't compare a sub-string too a UTF-8 code for comparisons, why is ... |
Aug 24, 2020 at 5:58am
[1 reply] : ... (by andywestken)
|
by JamesHelp
UTF-8 encoding
|
How do I write UTF-8 encoding as a string or char. I want to use curly quotes: “ ” with encoding U+201C and U+201D. (I could just copy and paste the curly ... |
Aug 23, 2020 at 10:35pm
[1 reply] : Next time, read the manual first. http://eel.is/c++draft/lex.charset#2... (by mbozzi)
|
by againtry
static member
|
https://www.learncpp.com/cpp-tutorial/811-static-member-variables/ |
Aug 23, 2020 at 3:41pm
[1 reply] : https://www.tutorialspoint.com/cplusplus/cpp_static_members.htm See a... (by deleted account xyzzy)
|
by Depressed
No Appropriate Default Constructor
|
Hi, I am working on converting a regular class into a templated class but I keep running into this error that says I do not have an appropriate default construc... |
Aug 23, 2020 at 9:45am
[1 reply] : You defined a constructor with arguments so the "default" no argument ... (by jlb)
|