Beginners (Page 42)

convert a fasta file into a pair with T1 and T2 being strings
 
Should be a simple problem. I have a fasta file with n rows, and now I need to put it in a pair with...
[1 reply] : I fail to see how that may work for the second line, as you are just r... (by ne555)
Missing brace somewhere and cant find
 
Im getting an error on visual studio that the left brace on the very top is unmatched at the end of ...
[5 replies] Last: Don't indent your code. That superfluous white space is not understood... (by ne555)
by jsbd29
Please can someone Help me with my first function program
 
I need to Create a function inVowel to count the number of vowels the user entered.Can someone help ...
[4 replies] Last: thank you! (by jsbd29)
Calculate median from 2 dimensional array.
 
I am having trouble figuring out why I am getting the following error. I'm also attaching the secti...
[3 replies] Last: Here is the whole code, minus the sort function. using namespace std;... (by al bama cpp)
how to enter characters separated by space
 
i have a exercise telling me to enter five character a,e,i,u,o separated by space on one line. Can y...
[1 reply] : Can you guys show me how to do it because whenever i use cin>>a>>U>>.... (by Enoizat)
Playing Card. If/Then Problem
 
If anyone could please help. I have to create a (if/then and a loop) program where the user inputs t...
[1 reply] : Are you really not supposed to use any array, pointer or std::vector? ... (by Enoizat)
by jeg19
Recursive function for singly linked list
 
I wrote a function to count the number of nodes in a singly linked list that should have 5 nodes, bu...
[2 replies] Last: nevermind then lol (by Cody0023)
Opening API url in C++ (json or XML)
 
There is API data on a website offered in JSON and XML. In Python, I can call the data by using a ur...
[8 replies] Last: No, you only need a C++ compiler and Python, IIRC. (by helios)
Editing files using file stream
 
I have an assignment where I need to open a text file. The content in the file appears as follows: ...
[7 replies] Last: Hello User55009, I will be watching. Andy (by Handy Andy)
by Bopaki
Why does my selectionSort() function not sort the list
 
Program compiles 100% correct but the list comes out NOT sorted? #include "arrayListType.h" ...
[2 replies] Last: I eventually found where my problem was. Thank you Peter87 (by Bopaki)
Course vs Tutorial vs Book for learning C++
 
Write your question here. I am starting off with C++ but am confused whether to: - start off with ...
[4 replies] Last: the course is the best choice. here's a few i took: https://ocw.mit.ed... (by aki33)
Counting unique words in a text file
 
I want to count unique words in a text file and display their words and frequencies. Line 60 happens...
[5 replies] Last: The problems are line 13: int sequential_search ( int data , int fro... (by Chervil)
Functors in C++
 
Just a quick question : Are any classes or struct which has overloaded "operator()" function,its' o...
[3 replies] Last: My question was whether or not an object of a class or a struct which... (by Enoizat)
Maps
 
I have been searching online for how to utilize maps. My objective is to get location coordinates, ...
[4 replies] Last: Hints: #include <iostream> #include <map> #include <string> using Po... (by Enoizat)
Wrong output?
 
I know the numbers are randomly generated, but my output is bad. It outputs too many zeros in wait t...
[3 replies] Last: Consider this: switch(...) { case 1:// Not... (by coder777)
Program to Evaluate Expression
 
I have an assignment due this Friday that I've committed to completing tonight. I've been working at...
[5 replies] Last: Well, it was more a matter of reducing the calls to flush the buffer -... (by Chervil)
Program to find factorials
 
I have this program working BUT I want to add the ability to keep asking the user to input numbers u...
[1 reply] : #include <iostream> #include <string> using namespace std; int main(... (by Repeater)
Find word from text file
 
Hi there! I've been struggling with finding a way to read form two text files. I have two input fil...
[1 reply] : Brute force: #include <iostream> #include <string> #include <fstream>... (by JLBorges)
Calling static methods from A.cpp into main.cpp
 
Hi all, i just started learning C++ and i was tasked with an assignment recently. i am currently ...
[4 replies] Last: hi guys, thanks for the replied. I already solved this.. :) (by CPP NEW)
lambda value capture by reference
 
Create a local int. Write a lambda expression which captures the int, and decrement it until i...
[1 reply] : > cout << " the lambda expression is " << f() << "value of a1 is " <<... (by JLBorges)
Pages: 1... 4041424344... 59
  Archived months: [sep2017]

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