49,761 Topics
| |
Basically, after the user inputs a cvs file which is formatted like (unmod.cvs that is attached is complete file): Source, Native ID, Index, Charge, Cluster ID, FDR, Precursor Mass, Calculated Mass, Mass Error, Peptide, Mods, Search Scores /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=771,770,2,46,0,1162.436,1162.438,0.001953125,NDDDEEEAAR,,(mvh 52.0926)(mzFidelity 69.9226) /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=1147,1146,2,93,0,1436.543,1436.506,-0.0369873,AAEDDEDDDVDTQ,,(mvh 68.8836)(mzFidelity 92.7468) *note that the mods value is a … | |
i have been given a project in c++ to write a program on quiz conduction in object oriented programming..... i want some help.. | |
I am making a shoot function with my game and my dad ( being the geinous programmer that he is ) suggested that i should generate an imaginary line from the gun to whatever it's aiming at and then, if the user clicks then put a bulet hole at what … | |
My process involves: - Run Make on a c++ file and generate a binary file - Run readelf on binary file generated and dump contents in HEX form into NEW_File *- Import data from generated file into c++ file vector as 8 bit hex words *- other VLSI related sections … | |
hi all. Please help me .... [B]I want c++ project [/B]. i you got a any c++ project so please send me... .. | |
Can anybody please tell me how I can make my code an install file? I know how to make the code into an executable, but once I transfer the executable onto another computer (obviously) it doesnt work. | |
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 … | |
| Hi, I am using [icode]setw[/icode] from [icode]#include <iomanip>[/icode] library to format the output and it works just fine... Par exemple. [code] cout<<std::setiosflags ( std::ios_base::right ) << std::setw ( 20 ) << "---------025125222" << std::endl; [/code] However, I wish to format the same output as a STRING. So instead of doing … |
i have to make a program in cpp that finds max,min and avg value from a table and the table is to be retrieved from a location.......any ideas how to do it?????? | |
Hi, I'm working on a shared library with a various of dependency libraries. They are all currently linked dynamically (shared object). I'd like a few of the libraries linked statically TO the main shared object. When I go ahead and try to link these libraries (.a) I get an error … | |
I am making a server-client application in c++. In this i am also using shared memory & file read-write operations. my program is completely ready & i now wants to make a gui for it. someone suggested me to go for QT4, but when i tried it, i found i … | |
Hello all, sorry for this being my first post. I have been dealing with this Nqueen program, and I cannot get it to work properly. I feel like I have been just staring at my computer screen for hours and my brain is starting to hurt. After entering n, the … | |
Help I need to download MinGW Offline Installer | |
So far, here's my code. It is running after I built it but it runs differently that I typically supposed to play tic tac toe with a partner ( two players only). Where do I go wrong on this code? [icode] //Timing. #include<iostream> using namespace std; int check( char g[3][3], … | |
Hi, Please advise how to bind std::sort with boost::thread. I'm trying to do: [code=c++] boost::thread_group thg; thg.create_thread(boost::bind(sort<vector<int>::iterator>, mass.begin(), mass.end())); [/code] and get: ThreadSort/main.cpp:40:0 /Users/Maxim/Documents/Projects/SW/C++/ThreadSort/main.cpp:40: error: no matching function for call to 'bind(<unresolved overloaded function type>, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >)' Please HELP!!! | |
I am having a terrible time separating this code into a header file and source file. I am running this on cygwin and it keeps giving me error messages I do not know how to solve... any help would be greatly appreciated [code] #include <fstream> #include <vector> #include <string> #include … | |
I have to create a word counter function which counts the words of a string. When I run the program, it doesn't end. This is what I have created so far: [code] //-------------Start of Program-------------> #include <iostream> #include <cstdlib> using namespace std; //Function Prototype void stringLength(char *); void reverseString(char *); … | |
I just started working on a small tool to search for (heavy) text files using Visual C++ with MFC. Because there are a lot of readings, I'm wondering if ifstream of the standard library is better than CFile of MFC? I don't need portability (the program is for Windows Environment), … | |
what is the best design practice for this situation? ----- Create a class or set of classes in C++ to represent the birds Create an instance of each type of bird and add them all into a single vector Have each bird hop and then fly in turn Don't have … | |
Hello all, I started learning C++ a few days ago, using visual C++. I'm learning from an old textbook. I'm having some errors come up due to heap corruption. The author of this book defined a class matrix and vector (I won't repost the whole thing as it's quite long, … | |
Good evening; I am having a final exam next week and I'm having an issue with this program. the program should user receive from the user 6 marks for each one of four students and then compute the average and finally show the index of the student who has the … | |
Hi there, I'm new to c++ and im trying to do a project, wich is a letter soup game (its like a word search in a square with loads of other letters). So far now I have a letter (A-Z) randomizer, wich will put them in an array[l][w] (choosen by … | |
Hi, i would like to make program, that saves sent emails to hd. Actually i cant find anything usefull how to do this. At first i am not interested in email clients ,but web based mail. When i send email, befor it is encrypted with ssl, i need to catch … | |
Hi, i've have just created my first program in visual c++ 2008 express edition and i'd like to know, if I can create an exe file to make this program run independently from visual studio. thanks | |
Hi guys hope ur are all well! I have a program im trying to finish and its not going well. I am quite new to C++ and am not the greatest. I have code that ill post, but the problem is when i run the program with the readfile(); function … | |
Hi,I am new with this forum even if I have been programming in c,c++ for a while. I have never realized any DLL file and I'd like to start now. I think I have basically understood the concepts that stay behind a DLL realization but I still can't make one … | |
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? | |
hi all, the following code is for a SLR parser... after compiling i got some strange errors - could someone pls take a look, or try compiling it... tnx alot [CODE]#include<iostream> #include<conio.h> #include<string.h> #include<process.h> #include<stdio.h> char in[30]; char T[]={"i+*()$E"}; char prod[4][5]={"EE+E","EE*E","E(E)","Ei"}; char M[10][8]={"sbbsbbg","bssbbab","sbbsbbg", //matrix to store shift, "brrbrrb","sbbsbbg","sbbsbbg", //reduce,error and … |
The End.