49,761 Topics

Member Avatar for
Member Avatar for emmonssw

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 …

Member Avatar for emmonssw
0
190
Member Avatar for sashaa

i have been given a project in c++ to write a program on quiz conduction in object oriented programming..... i want some help..

Member Avatar for daviddoria
0
39
Member Avatar for tomtetlaw

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 …

Member Avatar for green_frog
0
150
Member Avatar for dansnyderECE

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 …

Member Avatar for dansnyderECE
0
116
Member Avatar for shiva manhar

hi all. Please help me .... [B]I want c++ project [/B]. i you got a any c++ project so please send me... ..

Member Avatar for daviddoria
-3
37
Member Avatar for MATLAB2007

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.

Member Avatar for Pynolathgeen
0
99
Member Avatar for j-green.10

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 …

Member Avatar for j-green.10
0
74
Member Avatar for j-green.10

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 …

Member Avatar for Nick Evan
0
129
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
5K
Member Avatar for sangha6

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??????

Member Avatar for iamthwee
0
97
Member Avatar for Excizted

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 …

Member Avatar for tarakant_sethy
0
153
Member Avatar for sksingh73

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 …

Member Avatar for iamthwee
0
286
Member Avatar for beginnercoder

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 …

Member Avatar for JIMITRIS
0
89
Member Avatar for Orion2k
Member Avatar for cl2020

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], …

Member Avatar for VernonDozier
0
92
Member Avatar for MaximNM

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!!!

Member Avatar for MaximNM
0
345
Member Avatar for dmr9215

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 …

Member Avatar for Ancient Dragon
0
153
Member Avatar for usafsatwide

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 *); …

Member Avatar for achieve_goals
0
225
Member Avatar for paddy8788

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), …

Member Avatar for paddy8788
0
240
Member Avatar for kalai_c_k

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 …

Member Avatar for mrnutty
0
119
Member Avatar for joinerc

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, …

Member Avatar for NathanOliver
0
379
Member Avatar for IS_student

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 …

Member Avatar for finito
0
106
Member Avatar for kunkunlol

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 …

Member Avatar for ndeniche
0
906
Member Avatar for Rampage.

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 …

0
23
Member Avatar for hatzi8

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

Member Avatar for VernonDozier
0
82
Member Avatar for bree9482

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 …

Member Avatar for VernonDozier
0
148
Member Avatar for Ico.I.Am

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 …

Member Avatar for vijayan121
0
111
Member Avatar for j-green.10

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?

Member Avatar for VernonDozier
0
146
Member Avatar for j-green.10

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?

Member Avatar for j-green.10
0
72
Member Avatar for CroBoss

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 …

Member Avatar for CroBoss
0
227

The End.