Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: brk235
Forum: Geeks' Lounge Aug 1st, 2008
Replies: 4
Views: 548
Posted By brk235
Yes for three dimensional also ((x2-x1)^2 + (y2-y1)^2+(z2-z1)^2) = D. but i know here x1,y1,z1 and D..there are three unknown variables(x2,y2,z2)...how can we solve these three unkown variables is my...
Forum: Geeks' Lounge Aug 1st, 2008
Replies: 4
Views: 548
Posted By brk235
Hi freinds i have problem with the implementation of the logic.

I have placed a node A(x,y,z) in the cubic box and at a particular distance from this node i need to place another node B.

I...
Forum: C++ Jul 26th, 2008
Replies: 1
Views: 400
Posted By brk235
hallo friend iam dealing with strings in C and C++. I want to know how strcat(),strcpy()...etc functions are defined in the cstring library function.

Can we see the definition of these inbuilt...
Forum: C++ Jul 23rd, 2008
Replies: 1
Views: 371
Posted By brk235
Hallo friends i have wrtten code for my project in c++, but i have no idea about how GUI is used eith c++ and which one is used.

For the beginner i have no idea about GUI and how to start it....
Forum: C++ Jul 12th, 2008
Replies: 2
Views: 416
Posted By brk235
Hi friends i have one question about OOP.
I have

class A
{
/function body here
};

class B:public A
{
Forum: C++ Jun 11th, 2008
Replies: 8
Views: 499
Posted By brk235
Hi thanks for ur reply...but i can sure that these are connected as a tetravalent shape....
Forum: C++ Jun 11th, 2008
Replies: 8
Views: 499
Posted By brk235
how can i connect to get tetrvalen network with these nodes. i have idea about linked lists...but i need logic for tetravalent network...

Thanks,
Forum: C++ Jun 11th, 2008
Replies: 8
Views: 499
Posted By brk235
Yes each node represent an atom and i need to connet all these atoms as a tetravalent nettwork. No GUI involved here i need logic only to write program in C++

thanks,
Forum: C++ Jun 11th, 2008
Replies: 8
Views: 499
Posted By brk235
Hallo friends i have particular number of nodes in a box. I need to connect all these nodes as a teravalent network. I have no idea how to proceed for this task. Please give me,atleast, idea to...
Forum: C++ May 31st, 2008
Replies: 3
Views: 700
Posted By brk235
Hi friends how to generate random numbers in between 0 to 1. I need to generate around 100 random numbers in between 0 to 1..please help me..

Thanks,
Forum: C++ May 30th, 2008
Replies: 9
Views: 3,533
Posted By brk235
Hi it works now..thanks for ur help..all the best..
Forum: C++ May 30th, 2008
Replies: 9
Views: 3,533
Posted By brk235
Hi it works now..thanks for ur help..all the best..
Forum: C++ May 30th, 2008
Replies: 9
Views: 3,533
Posted By brk235
Yes..i want the method to get that result....simply ...

string a,result;
int i;

if suppose i hase particular value than how can i add this i variable to the string

result=a+i;
can i add...
Forum: C++ May 30th, 2008
Replies: 9
Views: 3,533
Posted By brk235
i dont want to print like that..i want give names in that way..rama1,rama2,rama3...like that..
Forum: C++ May 30th, 2008
Replies: 9
Views: 3,533
Posted By brk235
From the given code below everytime i need to print the name as rama+value of the integer variable.
if i=10;

then the output:rama10 should be printed... i have probelm to add string to the...
Forum: C++ May 30th, 2008
Replies: 4
Views: 493
Posted By brk235
In my project work i need to create a cubical box and have to place particular number of atoms randomly in the box. For that purpose i have created an array of atom objects. I want to give names for...
Forum: C++ May 30th, 2008
Replies: 4
Views: 493
Posted By brk235
Hi friends..i have doubt about C++ programming. How to give names for the elemetns in an array of objects...
Forum: C++ Jan 30th, 2008
Replies: 5
Views: 667
Posted By brk235
Hi thanks for your effort...but still ıam gettıng two errors...

error LNK2019: unresolved external symbol _main referenced in function___tmainCRTStartup

fatal error LNK1120: 1 unresolved...
Forum: C++ Jan 30th, 2008
Replies: 5
Views: 667
Posted By brk235
İ have changed my message Box as you have shown..still it shows the following error...


error C2664: 'MessageBoxW' : cannot convert parameter 3 from 'const char [5]' to 'LPCWSTR'
Types...
Forum: C++ Jan 30th, 2008
Replies: 5
Views: 782
Posted By brk235
Hi.....ı have changed ur code to get result...instead of using char..use string data type for the name variable with getline function.
#include <iostream>
#include <string>

using namespace std;...
Forum: C++ Jan 30th, 2008
Replies: 5
Views: 667
Posted By brk235
Hi all i want to use GUI wıth the Mıcrosoft vısual C++. I have taken some reference code for Win32 GUI and compiled ıt..but ı was gettıng error to compile this code.

This is the code which ı...
Forum: C++ Jan 27th, 2008
Replies: 8
Views: 4,619
Posted By brk235
Hi İ have trıed to remove the double spaces in the gıven string...but ıt doesnot work ıf u have more than 2 spaces in the sentesne...iam trying for that now(if we have more than 2 spaces in the given...
Forum: C++ Jan 27th, 2008
Replies: 14
Views: 4,054
Posted By brk235
I thınk you can't gıve bınary number like an integer.The number which u are giving is taken as an integer..i have used code for this conversion with predefined libraries...

#include <iostream>...
Forum: C++ Jan 26th, 2008
Replies: 12
Views: 1,846
Posted By brk235
I have code for this for only one name...

#include <fstream> //for fıle ınput and output....
#include <iostream>
#include <string>
using namespace std;

int main()
{
string fullname="This...
Forum: C++ Jan 26th, 2008
Replies: 4
Views: 1,302
Posted By brk235
HI i trıed to compıle your program wıth the get functıon for all the varıables....i got ıt.

//wrıtıng data output the fıle ın the dısk

#include <fstream> //for fıle ınput and output.......
Forum: C++ Jan 24th, 2008
Replies: 11
Views: 3,124
Posted By brk235
try this....here iam posting total code for ur program....



float maximum(float, float, float); // functional prototype
float maximum(float x, float y, float z)
{
float max_value;
if( (x >...
Forum: C++ Jan 24th, 2008
Replies: 11
Views: 3,124
Posted By brk235
sorry..I couldn't get you...could you please tell me in which line you have error.
Forum: C++ Jan 24th, 2008
Replies: 11
Views: 3,124
Posted By brk235
change ur if statements like this....

if( (x > y) && (x > Z) )
maximum = x;
else
if ((y > x) && (y > z))
maximum = y;
else
maximum = z;
Forum: C++ Jan 24th, 2008
Replies: 11
Views: 3,124
Posted By brk235
you forgot call to the function from the main......

int main()
{
double number1;
double number2;
double number3;
double max;
cout << "Enter three floating-point numbers: ";
cin >> number1...
Forum: C++ Jan 24th, 2008
Replies: 11
Views: 3,124
Posted By brk235
You need to remove re-definition of these variables agian here..remove these lines
double x; // assume x is largest
double y;
double z;
Forum: C++ Jan 23rd, 2008
Replies: 3
Views: 437
Posted By brk235
What help u want from this program.....
Forum: C++ Jan 23rd, 2008
Replies: 12
Views: 4,911
Posted By brk235
Hallo friend please post your complete code here..so we can help you..
Forum: C++ Jan 23rd, 2008
Replies: 2
Views: 527
Posted By brk235
Hi Here iam pasting code for your question....when u compile it u will get what you want....please reply me if you want more than this..

# include<iostream>

using namespace std;
/* This...
Forum: C++ Jan 23rd, 2008
Replies: 8
Views: 667
Posted By brk235
Hallo I can help you if u can write your question correctly. There is one requirement that ....Make sure your program can produce the same output as shown in the screenshots.....

Where are...
Forum: C++ Jan 23rd, 2008
Replies: 3
Views: 719
Posted By brk235
Hi iam also new to C++ programming Language. I downloaded Microsoft Visual C++ 2008 compiler for free and i have started compiling all programs from the OBJECT-ORIENTED PROGRAMMING IN C++ by Robert...
Showing results 1 to 35 of 35

 


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

©2003 - 2009 DaniWeb® LLC