49,761 Topics
| |
Can anyone please help me in making a simple c++ program in turbo c++ 3.0? | |
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. | |
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 … | |
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; … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
what is the library used? How do I assign it the value? What are some library functions dealing with them? Thanx- JT | |
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 << … | |
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 … | |
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 … | |
plz write prog. for take a string i/p and print it in small to capital, or capital to small.............. | |
| need someone who know mathematical functions in c++...send me your msn,gmail,icq,skype or else...i will ad u... |
[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 … | |
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, … | |
| 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
im curious as to the why there is a signed version of char and unsigned version? what are the purposes?? | |
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 … | |
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] | |
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 … | |
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 … | |
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 … |
The End.