Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: galin
Forum: C++ Feb 6th, 2009
Replies: 6
Views: 396
Posted By galin
I don't understand what you want but check this . Its work

#include<iostream>
//#include<conio>

using namespace std;
char SearchString(char[2][10],char[10]);

int main()
{
Forum: C++ Feb 4th, 2009
Replies: 11
Views: 871
Posted By galin
program can not find the file. Maybe program and file are not in the same directory . Put the full path to the file
Forum: C++ Feb 3rd, 2009
Replies: 5
Views: 335
Posted By galin
#include"stdafx.h"
#include <cmath>
#include <iostream>

using namespace std;


class Int
{
private:
Forum: C++ Feb 3rd, 2009
Replies: 6
Views: 333
Posted By galin
Try this

ifstream input("test.txt");
char f1 [250], f2 [250];
while (!input.eof())
{

input.getline(&f1[0],250);
input.getline(&f2[0],250);
Forum: C++ Nov 14th, 2008
Replies: 9
Views: 2,837
Posted By galin
double RoundDouble(double doValue, int nPrecision)
{
static const double doBase = 10.0;
double doComplete5, doComplete5i;

doComplete5 = doValue * pow(doBase, (double)...
Forum: C++ Jul 13th, 2008
Replies: 14
Views: 1,341
Posted By galin
OK I tink if code pass all unit tests it's good code. Your code is good, but use std::string not char array with cin >>. If you want to catch all words that have ' , you can use boost regex lib...
Forum: C++ Sep 17th, 2007
Replies: 2
Views: 5,277
Posted By galin
May bee this will help you
[code=c++]
vector<long double> C sum(const vector<long double>& A0,const vector<long double>& A1)
{
......
}
[code]
Then you can write somethink like this...
Forum: C++ Sep 12th, 2007
Replies: 10
Views: 1,534
Posted By galin
ANSI-ISO C++ standart doesn't allow it. Do not believe in Microsoft at 100%
Forum: C++ Sep 12th, 2007
Replies: 10
Views: 1,534
Posted By galin
Put space between two templates
wrong : vector<vector<string>>& edges
good: vector<vector<string> >& edges
Forum: C++ Sep 5th, 2007
Replies: 33
Views: 4,020
Posted By galin
Another article from google
http://www.angelfire.com/country/aldev0/cpphowto/cpp_BinaryFileIO.html
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC