49,761 Topics

Member Avatar for
Member Avatar for priyanshu14

Can anyone please help me in making a simple c++ program in turbo c++ 3.0?

Member Avatar for JSPMA1988
-3
67
Member Avatar for redzbor

can anyone help me pls am using turbo compiler. Write function which will sort string argument in alphabetical order. You may assume that the strings contain only lower case letters, optionally,and no blanks or other non-alphabetic characters.

Member Avatar for SoulReaper1680
0
125
Member Avatar for jackmaverick1

I am trying to make a card class that has a bunch of functions to make it possible for the AI to judge what cards can be played. The card game I am working on at the moment is Rummy by order of my brother. I made a 3 pointer …

Member Avatar for jonsca
0
274
Member Avatar for dynamyt3

Hello.I'm a begginer in C++. I'm trying to make an algorithm that will shuffle randomly the elements of a matrix[4][3],but i don't know how to start... Can someone help me with the algorithm ? I think is something like this but i'm not sure : [code]bool test=false; int x; x=rand()%4; …

Member Avatar for dynamyt3
0
1K
Member Avatar for sdinu96

If u type top command in terminal u will get like this.......... For eg. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31253 user1 16 0 2112m 2.1g 1764 R 37.0 53.2 0:39.89 firefox 31249 root 16 0 2112m 2.1g 1764 R 15.5 53.2 0:38.29 gtk-gnash …

Member Avatar for vijayan121
0
169
Member Avatar for sdinu96

Hi everyone, I don't know how to calculate cpu and memory usage information of a process.I know this information is located in /proc/pid/... but where............because i want to display this information in C++ without using "gliptop" library........... Please help me ........even if possible i need "top" command source code in …

Member Avatar for sdinu96
0
186
Member Avatar for lochnessmonster

what does this statement mean? BYTE *gameBase = 0x4C62FC; [B] *gamebase points to the value 0x4C62FC?[/B] or [B]*gamebase points to an address of 0x4C62FC which is the location of data or another address?[/B]

Member Avatar for embooglement
0
64
Member Avatar for Tellalca

Hey; I want to be able to use VS2010 and still pass command line arguments to it somehow. When I am building an application that needs to use argv[], I need to compile it and run it from the command line. That is becoming boring sometimes especially when I want …

Member Avatar for sundip
0
137
Member Avatar for jeevsmyd

Hi , I'm an amateur programmer from India. I use code::blocks for my c/c++ programming. I would like to create a simple 16color bitmap file reader in c++ . The hraphics library I use is winbgim . I'm a very beginner in graphics programming. I just know how to set …

Member Avatar for sundip
0
160
Member Avatar for jackmaverick1

I thought about a project idea and I came up with this: 20 questions. I have no clue how to start. I think that a simple knowledge base is necessary, along with a way for it to learn. also, how would it ask questions? it would have to know some …

Member Avatar for JSPMA1988
0
157
Member Avatar for jackmaverick1

what is the library used? How do I assign it the value? What are some library functions dealing with them? Thanx- JT

Member Avatar for Saith
0
134
Member Avatar for zit1343

for C++ [CODE=c] #include "stdafx.h"; #include <iostream> using namespace std; int main () { int x; char name; cout << "Please Type in your Full Name: "; cin >> name; cout << "Hello" << name << " , Now please type in your age: "; cin >> x; cout << …

Member Avatar for Saith
0
150
Member Avatar for MasterGberry

Hello, some of you have have seen me around the site lately picking up some C++ knowledge. I have been reading a book (brief history). I am trying to get involved in dev work for a community I help out. So i took up C++. My assignment has been to …

Member Avatar for MasterGberry
0
252
Member Avatar for jackmaverick1

I have been trying to invoke the default destructor for a class of mine (see below). when I try I get this error: "no match for 'operator~' in '~Card(((const Card&)((const Card*)(& hearts[1]))))'" [CODE] class Card { public: bool inPlayer; bool inDeck; bool inOpp;//in opponets hand. int type; //!< Member variable …

Member Avatar for jackmaverick1
0
1K
Member Avatar for best_tanu

plz write prog. for take a string i/p and print it in small to capital, or capital to small..............

Member Avatar for دموعي
-6
100
Member Avatar for DynamicMember

need someone who know mathematical functions in c++...send me your msn,gmail,icq,skype or else...i will ad u...

Member Avatar for JSPMA1988
-3
139
Member Avatar for Barzanyadis

[B]The 1998 22nd Annual acm International Collegiate Programming Contest World Finals sponsored by IBM [/B] Problem F [B]Polygon Intersections[/B] Input: poly.in Most drawing or illustration programs have simple tools for creating polygon objects. The better ones can find the regions that are the intersections of two polygons. The picture below …

Member Avatar for vijayan121
0
129
Member Avatar for Clinton Portis

As a proud memeber of the 10% unemployed and the 45% under-employed, I often find that I have a lot of time on me' hands. Now my dear ol' mom likes to play this game, and she's often at home alone.. so with nothing else to offer this holliday season, …

Member Avatar for Clinton Portis
0
164
Member Avatar for BrownBeard

I am writing an alarm clock program in C++, and it works great for now, but I was wondering is there any way I can have the user select the sound they want to blare once it goes off. If it helps, here is my code, as bloated as it …

Member Avatar for Dingbats
0
137
Member Avatar for benny2010

Dear all, i am trying to get my sprite to be dragged around the screen by clicking the mouse, i can get it to attach to the mouse but cannot get it to unattach itself, i coded the if not mouse click then set mouse attach to false but it …

Member Avatar for benny2010
0
159
Member Avatar for coolpal.nikil

Hey guys, Im a beginner in c++ programming, and i desperatly need some help here. We were given a holiday project in class where we can come up with anything we want as long as its creative. So my friend and I got a wicked idea and we implemented on …

Member Avatar for SgtMe
0
216
Member Avatar for L.sha

Hello I have to work with Linkedlist, and sort them from smallest to the largest. So I have made this sorting function. It works but I dont understand why it is not displaying me the items I have inserted after sorting it. I have also looked at the other related …

Member Avatar for Narue
0
152
Member Avatar for kaharas

Hi guys, there a flash ( a game ) application A that opens a socket with a server. What I need to do, is to write a c++ application that intercept every packet sent and received by the application through that socket ( to write the game actions history), eventually …

0
80
Member Avatar for crimes

hey all, im workin on a text rpg that has become very long and i have all the code on one page. basically i wanna break it down so its more organized and easier to understand. I read some stuff here and gathered that I need to do some research …

Member Avatar for Fbody
0
149
Member Avatar for lochnessmonster

im curious as to the why there is a signed version of char and unsigned version? what are the purposes??

Member Avatar for NathanOliver
0
116
Member Avatar for OrangeGrover

Hello, first off thanks for reading. So my problem occurs when I try to copy an element from one vector into a second vector. The error that I get says that the vector subscript is out of range when I try to push_back that element. I only get an error …

Member Avatar for OrangeGrover
0
317
Member Avatar for vbx_wx

Anyone know why i get this error in eclipse when i compile any program: [code] error: to generate dependencies you must specify either -M or -MM [/code]

Member Avatar for vbx_wx
0
103
Member Avatar for mightysnake

Read a single character from ‘A’ through ‘Z’ and produces output in the shape of a pyramid composed of the letters up to and including the letter that is input. The top letter in the pyramid should be ‘A’, and on each level, the next letter in the alphabet should …

Member Avatar for mightysnake
0
173
Member Avatar for nxt200

Hello DaniWeb Software Developers :D I have a problem which exceed my programing capabilities and i need your help! Problem: I am somewhat new to c++ and i have been making some useful console applications in windows GUI visual Express. I thought i would give building in Linux a try …

Member Avatar for Narue
0
181
Member Avatar for hiddepolen

Hi all! I have a very strange problem. I am making a Win32 program, using Visual C++ professional 2010. Everything works exactly as it should, until I want a MessageBox to appear. It appears, but I cant click any buttons. I also can't access my main API, so I can't …

Member Avatar for hiddepolen
0
1K

The End.