Beginners (Page 74)

by Flotsa
This is the error I get
 
As5.obj : error LNK2019: unresolved external symbol "void __cdecl DisplayNames(class std::basic_stri...
[3 replies] Last: I don't know that more experience necessarily makes one immune to typo... (by wildblue)
Tell me an easy and efficient function to return all the positions (occurrence) of a word into a string.
 
I want to create a function that returns all the position of occurrences of a word into a string. Pl...
[1 reply] : Give it a try, then post your code. Start with finding occurrences of... (by PCrumley48)
by Flotsa
string subscript out of range error
 
I tried searching this site for this, and while people have had this error, I can't seem to find the...
[3 replies] Last: Counting from 1 to MAX assumes that the length of string name will be ... (by PCrumley48)
convert std::string to const char*
 
how can i convert std::string to const char* so i can use it with the atoi(); function to convert th...
[1 reply] : You can use the c_str() member function. http://www.cplusplus.com/refe... (by Peter87)
Middle number debug
 
I wrote this program awhile back and it seemed to work fine. It's supposed to ask the user to enter ...
[no replies]
Visual studio: capture video from file
 
Hi! I'm new here. I have some problems using Visual studio 2010 and Opencv 2.4.9. I'm trying to ca...
[no replies]
Getting error too few parameters in call to 'nme(char *, char *)
 
#include <iostream.h> #include <string.h> #include <conio.h> #include <stdio.h> #includ...
[8 replies] Last: shit thank you AbstractionAnon (by N00batc)
Implementation of link list data structures.
 
Greetings everyone. I am student and learning data structures. I try very hard to understand the con...
[1 reply] : Introduction: http://www.codeproject.com/Articles/641175/An-Introducti... (by anup30)
Code for a "vidbox" prototypes not functions, writings and reading from a file?
 
The assignments has me updating files throughout the program to keep current records. Also while ap...
[no replies]
Need help with overloading the stream insertion operator
 
I am trying to display all the content stored in one object to the screen without resorting to a mem...
[3 replies] Last: That was a typo. I meant line 57, not 27. Sorry for the confusion. ... (by AbstractionAnon)
Roman Numeral to Decimal conversion
 
I'm working on a converting Roman numbers to Decimal problem. My lackluster code will output a singl...
[2 replies] Last: you can try getting the char one by one(from the string): ////NOTE! r... (by rjvc)
worng output in float divid
 
hi all float x,y,z; cin>>x>>y; z=x*y; z=z/100; ok when i give x 5000000 (...
[1 reply] : Because 1000000 is equal to 1e+06; Use std::fixed to avoid scientif... (by MiiNiPaa)
Classes and pointers
 
I'm a bit confused with class instances and pointers.I'm trying to run a function from an instance o...
[1 reply] : So it prints "Some important info" once instead of twice? Maybe showin... (by Peter87)
booking/reservation program
 
write a booking program initially the program should display: 1.4-5(available) 2.5-6(available) th...
[1 reply] : Hi! You can try posting what you have done so far and we'll work our w... (by rjvc)
Train problem
 
Hello fellow programmers. How would you solve a problem where you have a train kompozition with wago...
[1 reply] : bump (by theanswer)
Adding all the digits into a string.
 
I wrote a program to find the numbers into a string and calculate the sum of all the found numbers. ...
[1 reply] : Because you are adding character to an in teger. characeter '1' is not... (by MiiNiPaa)
Why "itoa" function doesn't work with C++11 ISO standard?
 
Hey guys. I have this pretty simple code here: #include <iostream> #include <cstdlib> usin...
[2 replies] Last: Ah, I get it now. I didn't know there was such a function for strings,... (by bheadmaster)
TwoDArray/Tokenizer help
 
My project is to basically read a long string of characters and grab tokens of each word. After I do...
[3 replies] Last: #include <iostream> #include <cstring> #include <iomanip> int main()... (by JLBorges)
I need help with a piece of code from my project, Theater Seating Program
 
In the code that I am having a problem with, I am trying to get the user to purchase tickets for sea...
[1 reply] : First, rewrite arr as arr[r-1][c-1] or something like this in ... (by Konstantin2)
This cout statement is causing my program to fail!
 
Could someone explain why this single cout << endl; statement is breaking my code? I cannot for the...
[2 replies] Last: Just ran it on Xcode and can confirm it runs fine. I haven't used Net... (by Immo)
Pages: 1... 7273747576... 109
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.