Beginners - November 2016 (Page 22)

by jmpc92
Pointers and vector output.
 
Hey guys, beginner here making his first post so apologies if I make this more confusing than it nee...
[3 replies] Last: Thank you so much! That was really helpful. I did manage to display th... (by jmpc92)
Error: String subscript out of range
 
Hello all, New member to this forum, excited to be here. Im getting the subject line error with th...
[1 reply] : The subscript operator can only be used to access existing characters ... (by Peter87)
Replace
 
Hi, I'm trying to replace the word love with the word hate but I get the error message "No matching...
[3 replies] Last: You could create a non-const copy of inText1 and then call replace on ... (by Peter87)
by mmgh
MPI send and recv for std::vector
 
hello, Would you please help me send a std::vector<MyClass> vec; from the master node to the slav...
[1 reply] : You can (and should) send a normal array in one go. http://www.mpich.o... (by lastchance)
Am I programming in a wrong way?
 
Hello everybody! I'm new to this forum and first thing first I'd like to apologize for my terrible ...
[2 replies] Last: Your looks pretty good. 2 suggestions 1. instead of cout << endl; if... (by joe864864)
Integer division issue.
 
On line 87 I'm having an issue with integer division. I keep getting 1 as the result. I tried using ...
[6 replies] Last: Jack816, Could you possibly post the mathematical formulae that you a... (by lastchance)
by Kimmy1
Loops and average
 
How would I create a program that allows the program to choose which loop they want to use to enter ...
[3 replies] Last: #include <iostream> void while_loop(int &, int &, int (&) ); void f... (by boost lexical cast)
Help with stringstream
 
I have a file A that has multiple paragraphs. I need to identify where I matched words from another...
[no replies]
Using Private Arrays??
 
Hi everyone, I'm trying to use a private function with arrays as if it were public. I'm not progr...
[5 replies] Last: @ Hitsuin You could define your own Function thats beahves lik an arra... (by nuderobmonkey)
Class type redefinition error. How can I fix this?
 
This is my header file: #ifndef UArray_H #define UArray_H #include <iostream> using namespace std...
[5 replies] Last: http://stackoverflow.com/questions/2346806/what-is-a-segmentation-faul... (by closed account 48T7M4Gy)
Replace IP Address with Web Address
 
I am using #include<winsock2.h> and ws2_32.lib and was wondering how I could connect to port 80 usin...
[1 reply] : See gethostbyname() function: https://msdn.microsoft.com/en-us/librar... (by coder777)
Program to edit roms and binary files.
 
Hello, im a noob when it comes to coding. I am trying to write a file corruptor that edit bytes of ...
[3 replies] Last: If you are worried about the program's duration, use bitwise operators... (by Golden Lizard)
Debug Error! abort() has been called
 
My program keeps giving out the abort() has been called error and idk how to fix it!! I have looked ...
[1 reply] : Maybe I can figure it out if you post your program. (by Golden Lizard)
Help with splitting strings
 
Hi, My goal with the attached code was to read in strings via splitting the string, using a switch...
[1 reply] : Can you post your full code? (by Elantra)
char arrays
 
#include <iostream> #include<string.h> using namespace std; bool findchar(char*cstr,char x,int...
[1 reply] : Please explain how output is coming? What do you want? (by Elantra)
Intro C++ project using arrays, etc. Needing guidance in theory and coding
 
Hi! I'm a novice programmer working on a simple project for my C++ class. I'm having trouble unders...
[1 reply] : Some suggestions: 1. Make size a constant const int size = 20; 2. As... (by joe864864)
by hayart
'complex' does not name a type
 
Hello, I am running IDE: Code::Blocks 16.1 With this compiler : mingw-get version O.6.2-beta-201310...
[4 replies] Last: Thank you again for all the help. When I commented out the C++ code an... (by hayart)
Counting from a file help!
 
I'm trying to count the number of items from a little list I compiled in NotePad. Here's what the li...
[1 reply] : Never mind guys! A little bit of playing around led me to this. It wor... (by MisterTams)
Invalid conversion
 
i keep getting this error discs.cpp:34: error: invalid conversion from ‘int*’ to ‘int’ dis...
[1 reply] : void draw_peg(int* peg_array, int size); (by gunnerfunner)
Upper Case to Lower case and vice versa
 
Hello, I have created 2 if statements, the second statement is correct but the first statement seems...
[2 replies] Last: Ahh thank you very much last Chance! I can't believe I missed that, wa... (by ageofkings09)
November 2016 Pages: 1... 2021222324... 44
  Archived months: [oct2016] [dec2016]

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