
please wait
by masterinex
Socket Programming recv function
|
Hello, anyone familiar with Socket Programming how come I cannot do this on the client side ? the first time the recv function works but the second time it... |
Dec 2, 2018 at 9:32pm
[1 reply] : How many bytes did you send? What did the first recv cout print? Not... (by salem c)
|
by fahad99
Files into arrays (1,2)
|
Hello everyone, I have a file which stores tickets information (Ticket number, ticket's holder id, ticket's holder name, ticket's holder phone number). Now ... |
Dec 2, 2018 at 9:16pm
[37 replies] Last: all errors fixed. https://pastebin.com/Xrmc3iAc remember to set y... (by closed account SECMoG1T)
|
by S0urce
New programmer seeking advice.
|
Hello everyone! I am new here, also I have just been introduced to programming. I started programming 3 days ago and I've already spent around 30 hours reading... |
Dec 2, 2018 at 5:41pm
[8 replies] Last: Visual Basic is a different programming language. Perhaps you meant V... (by S0urce)
|
by ashwyn
Populating Dynamic 2D Array
|
Hello. I am trying to create a 2D array, and I'm almost there but can't figure out the syntax/implementation for what I want to do. In my program I am accepti... |
Dec 2, 2018 at 4:13pm
[6 replies] Last: delete board_ar; ¿does that even compile? I've already showed you... (by ne555)
|
by bkhuber99
How do I execute three separate functions in an array?
|
How do I go about changing this array so that there are three functions in it. The output is right but I need to write the code so that I am using function. Is ... |
Dec 2, 2018 at 3:25pm
[5 replies] Last: indent your code. ¿what's the purpose of line 51? ¿are you sure that... (by ne555)
|
by Jyggalag22
reference a vector of objects in another function.
|
I am trying to make a form program that will allow the user to edit a form in the vector that was made by the user. I cannot find any information on how to refe... |
Dec 2, 2018 at 3:22pm
[5 replies] Last: > I needed to use Fvect.resize(n); to fill the vector with default obj... (by ne555)
|
Pass by value and pass by reference |
I've recently been reading on pass by value and pass by reference, and I understand the difference between them, but I don't understand why they are used and wh... |
Dec 2, 2018 at 2:44pm
[1 reply] : You have to understand that when you pass a variable to a function, yo... (by Satan)
|
Using functions |
I've been trying to get my head around functions and came across this used as an example, i get everything up until it says return r - what does that do? ... |
Dec 2, 2018 at 12:48pm
[1 reply] : Some functions (many of them) are used to generate some value. In this... (by Repeater)
|
by PermThesis
while loop error
|
I am writing a programming tutorial program and I am having some difficulty with a while loop. For this loop, I want the final selection to proceed to the next ... |
Dec 2, 2018 at 11:30am
[2 replies] Last: Hello PermThesis, Note: It is most often better to post the whole cod... (by Handy Andy)
|
by Gimmicky
Casting for template function to work.
|
I'm having issues understanding what's the difference between this two implementations of tripleVal? Why do I need to add the return casting to call the firs... |
Dec 2, 2018 at 8:43am
[1 reply] : > Why do I need to add the return casting to call the first function? ... (by JLBorges)
|
Help with array |
Hello i'm new here and i'm beginner in programming. I hope that someone will help me. I need to deduce the initial indexes of all (positive and negative) number... |
Dec 2, 2018 at 8:39am
[7 replies] Last: https://imgur.com/ClNZ1qF This is how program works. I'm getting posit... (by Blacksaliami1)
|
by PermThesis
password verification code review
|
Hello I coding a password verification in my programming class but when executed it fails to recognize a valid password. The requirements for the password are t... |
Dec 2, 2018 at 7:42am
[2 replies] Last: Thank you so much, the solution was right under my nose. now i know wh... (by PermThesis)
|
by nowy20180820
Sorting a file without loading it into RAM
|
Write your question here. If we allow to load file to RAM I can write code myself but we could have to little amount of RAM to load the file I think that... |
Dec 2, 2018 at 4:36am
[no replies]
|
'Invalid use of template-name 'std::iterator' without an argument list' |
Hello. I am receiving an error about the way I prepare my function. Can anyone explain to me the correct syntax? Thanks. The error is at line 86. #include <io... |
Dec 2, 2018 at 4:07am
[1 reply] : Change line 86 to typename ring<T>::iterator& ring<T>::iterator::op... (by mbozzi)
|
by JProgrammer
How to fix non-terminating loop?
|
Hi guys, I am continuing to work on my refresher project for my entry level C++ software engineer interview. I have ran into another snag however. I am creat... |
Dec 2, 2018 at 1:16am
[1 reply] : repeat if c is not either of {1,2,3} , you need && instead of || whi... (by closed account SECMoG1T)
|
by ks2018
difference between "list" and "list()" in the below code ?
|
Hi What is the difference between "list" and "list()" in the below code ? #include <iostream> #include "mycpp_linklist_class_01.h" using namespace... |
Dec 2, 2018 at 12:19am
[3 replies] Last: thanks (by ks2018)
|
by hanifa beg
The following code gives error.when you pass maps through function.and run loop over it.Kindly help
|
Write your question here. The following code gives error.when you pass maps through function.and run loop over it.Kindly help. #include<iostream> #include<... |
Dec 1, 2018 at 11:41pm
[1 reply] : You probably would've got help earlier if you used code tags and space... (by tpb)
|
by masterinex
how to prevent memory leek
|
how would you prevent memory leek in this situation : int * ReturnPointer2() { int * ptr = new int(3); return ptr; } |
Dec 1, 2018 at 11:35pm
[3 replies] Last: how would you prevent memory leak in this situation 1. By not using ... (by closed account E0p9LyTq)
|
by helpcpp
C++ Project - Do not even know where to start
|
DESCRIPTION: A standard but complex problem in civil engineering and mechanics is to determine how tall a mast can be before it will begin to buckle under its ... |
Dec 1, 2018 at 11:28pm
[9 replies] Last: [quote=helpcpp]for the purpose of this project, I have to use arrays a... (by lastchance)
|
by msulli1355
Need help with compiling RtMidi program
|
First off, my introduction. I will post it here, so that you know where I am coming from. Hopefully this is the last time I will have to tell this sorry story... |
Dec 1, 2018 at 11:25pm
[15 replies] Last: i'll test it on a linux machine, 'i'll get back to you. have any othe... (by closed account SECMoG1T)
|