No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hai,im trying to do program using strings.The difficulty is that, i want to remove double spacing in the sentence.I dont know which function to use and the coding for it?please help me? //to remove double spacing-task 6 int i,k=0; for(i=0;i<s.length();i++) { if (s[i]==' ') { ???????????? ???????????? |
|
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 know x,y,z coordinates of the node A and this distacne at which i … |
|
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 library functions. Please give me reply friends, Thanks, Rama |
|
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. Which one you prefer to use with c++ … |
|
Hi friends i have one question about OOP. I have [CODE]class A { /function body here }; class B:public A { /function body here }; class C:public A { /function body here }; int main() { B b[20]; C c[40]; } [/CODE] Each object of the derived classes(B and C)has … |
|
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 proceed. Thanks for your help, |
|
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, |
|
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 integer variable..please help anyone...thanks in advacne... class abc { private: int a,i; string name; public: void … |
|
Hi friends..i have doubt about C++ programming. How to give names for the elemetns in an array of objects... |
|
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 ı compiled... [code=cpp]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int … |
|
Re:
hey guys i am having a problem here... i am working on a new text based rpg and im trying to use a name that someone enters EXAMPLE #include <iostream> using namespace std; int main() { char name; cout <<" do you remember you name? " << endl; cin >> … |
|
Re:
i would like to create a program that converts a number system to another i found few ideas on how to do this but lacks explanation so i can't figure out 'how it worked'. found that 'for loop' over the net,did some editing then applied it in a program. here's … |
|
Re:
How do I write a C++ program that takes a string containg a full name, and outputs each part of the name seperately? const string fullname= "Horatio thadeous Hornblow" using only simple codes like length, size, adding, and subtracting. |
|
Re:
hi, My program created an object array containing 271 objects from the "names.txt", and each object has 3 private class variables, "id lastname and firstname "...... i know i can't use ofstream writer to write it to a new file like.... Name name; writer<<name[270]; Anyone please help me understanding how … |
|
Re:
[B]I need help To comment this program for my college work[/B] [CODE]#include <stdio.h> int main() { int a; a = 0; while (a <= 300) { printf("%4d degrees F = %4d degrees C\n", a, (a - 32) * 5 / 9); a = a + 20; } return 0; }[/CODE] |
|
Re:
Hello I'm haveing a problem running my program because i keep getting error C2447: '{' : missing function header (old-style formal list?). Can someone explain to me how to fix this problem? Below is a copy of my program. The program is designed to take three number inputed buy the … |
|
Re:
Hello, Please i really need your help. I am trying writing a code that will delete the last element of the list. However, i keep getting 0 or when i tweak it, i get a message asking me to abort what i am doing. In this code, i append some … |
|
Re:
I want to learn to C++ But I don't know how to start to learn it? Is there a program that I can practice it in or something? I just don't even know how to begin learning it? |
|
Re:
Well another semester has started almost done with all java classes, and now C++ has started. I like it so far it is shorter and somewhat easier code. I have a homework assignment which I have started on, but with just starting C++ not sure where to go. Class meets … |
|
Re:
I am new to C++ and need help with this output after the debugging.... Type of Ticket Orchestra Mezzanine Balcony Select: Number of Adults: Number of Children: This is what it is supposed to look like and I am confused on multiple issues. All i know is need to use … |