No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I want to make a loop that will keep asking for an input until 0 is entered into the input. How would I go about doing this |
|
I just created a code in c++ and i was wondering if there is any way a can convert that into a excel document. |
|
I am having a problem with getting my program to compile. This is a sample of my code but it an error comes up and says " binary '||' : no global operator found which takes type 'std::string' (or there is no acceptable conversion)". Is there anyway around this or … |
|
Below is a code that i have created to seperate a string statement. There are no errors but the code will not display the micron or the idustry statement. what do i need to do so that everything will show [CODE] #include <iostream> #include <string> #include <fstream> #include <cstdio> #include … |
|
In my code i have written: [CODE] std::ifstream stm; stm.str("str100"); double d; stm >> d; [/CODE] and an error comes up saying that: [CODE] 'str' : is not a member of 'std::basic_ifstream<_Elem,_Traits>' with [ _Elem=char, _Traits=std::char_traits<char> ] [/CODE] What should i do? |
|
In my code i have written: [CODE] std::ifstream stm; stm.str("str100"); double d; stm >> d; [/CODE] and an error comes up saying that: [CODE] 'str' : is not a member of 'std::basic_ifstream<_Elem,_Traits>' with [ _Elem=char, _Traits=std::char_traits<char> ] [/CODE] What should i do? |
|
I have a string that includes numbers and letters and I want to be able to seperate the string into parts. An example of the string looks like this FAP834E. I want to seperate it so that the first letter is seperate (F), the second and third are together (AP), … |
|
Im trying to create a program that will seperate out a product number like FAP831A-B. each letter and number means something different so I need a code that will divide the product number up. |