132,726 Archived Topics
Remove Filter ![]() | |
[code] char *name; cout<<name; [/code] and [code] char*name; name=new char[20]; cout<<name;[/code] both of these work....then why do i need memory allocation....where does the first code fails Software Development c | |
Hi Everyone, Is there a way to make your own remote connection program (just for my use - at least fo now)? Something like goToMyPC. Any suggestions would be appreciated. Also, is this easier to do in PHP/HTML? Thanks in advanced. Software Development java | |
Hello, all. Rather urgent question. I'm trying to implement a simple Cstring/Cstring map in my application so users can specify what they want to see instead of the MAC address. The information on [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcstdlib/html/vclrfmapvaluetype.asp [/url], however, tells me I can use ::mapped_type. But that doesn't exist as an option in … | |
What am I doing wrong I am not getting these values from the input file to even display correctly or sort in order. Give me some direction? [code] #include <iostream> #include <string> #include <cmath> #include <iomanip> #include <fstream> #include <cmath> #include <vector> using namespace std; class CommandLineException { public: CommandLineException(int … | |
Hi guys.. Well ive looked at my lecture notes and well they have examples and they are veryyyyyyyyy basic basically i get the concept but the examples are too simple to understand Something difficult... So i got this question for Tutorial and I basically dont understand of it... I was … Software Development c | |
Hello Iam a newbie. I went through some of the binary search implementation codes and was able to understand them. But when i wanted to represent them as tree i was not able to do so, i mean i do not kn ow ho wto proceed. By tree i mean … Software Development c | |
[B]Intro[/B] When you declare an integer variable in C, the variable is assigned a fixed memory location with enough space to hold the type integer. When you then initialize the variable with a value, the value is put into that space. Take a look at the C code sample below: … Software Development python | |
Hi everyone, I require some help for this project I am currently working on. Basically what I have to do is read from two text files, then calculate some numbers from both files (eg: add the numbers and average them) and after that, write the results to a another file. … Software Development java | |
I am currently finishing up my B.S. in Computer Science at a local private University. When I started a couple of years ago, C++ was taught in the intro to programming course for freshmen. About two years later, Java was taught as a first language. (I disagree with that because … | |
Where can I find specific instructions? Currently using MAC x10.3.6 operating system. Thanks Warren Software Development c++ operating-system | |
I've got a project going where I need to do some extensive searching, so I decided it would be best to put that code into a new thread. To make it a little more user friendly I decided to pop up a dialog box with a little animated image informing … | |
Is there a way one can interrupt the sleep() function with a key press in Python? Software Development python | |
Does c++ allow returning an array from a function? Thanks all, Nate Software Development c++ | |
Hi, I would like to change the caption of "ADD COMMOND BUTTON" to "SAVE" when it is pressed at run time. Could somebody is there to help me in this regard. Thanks in advance. Software Development visual-basic | |
For my simple programs I have wirtten, I have just been using a simple editer with syntax highlighting. This seems sufficient. What kinds of thing can a good IDE do for me? | |
Couldn't sleep last night, so I was browsing and found the "Starting Python" thingy. I must say Python looks interesting from the examples. I learned C++ in school, Python sure looks easier to understand. Does any one think it's better than C++? | |
Basically what i want to do is....whenever i drag the form...i should be able to see the current top and left coordinates...i know there is a resize event but it does not updates top and left...it only updates height and width.... is there any way to simulate reposition event Software Development visual-basic | |
hai, i want the basic differences in operation of MICROSOFT WORD document and NOTEPAD. can any one please clarify this>? 2) in one program to select a random number between 0 to 5 i write a function as random(0,5) ? but it is erroaneous as the system always selects 0 … | |
ok so i open notepad and paste this code [code] ContactsXPortPath As String = "E:\Ipod\Contacts" Const CalendarXPortPath As String = "E:\Ipod\Calendars" Const NotesXPortPath As String = "E:\Ipod\Notes" Const EmailXPortPath As String = "E:\Ipod\Notes" Sub ExportAll() ExportToVCard ExportToiCalendar ExportToText ExportToEmail MsgBox ("Export to iPod Complete") End Sub Sub ExportToVCard() Dim ns … Software Development vb.net | |
can anyone give me an example of dynamic type checking...how do we do tht Software Development c++ | |
Why are my exceptions not working? here is the teststack.cpp #include <iostream> #include <iomanip> #include "teststack.h" using namespace std; struct StackFullException { StackFullException(); }; StackFullException::StackFullException() { cout << "The stack is full."; } struct StackEmptyException { StackEmptyException(); }; StackEmptyException::StackEmptyException() { cout << "The stack is empty."; } Here is the … Software Development c++ | |
Hi everyone, I am just starting to learn to program in c++. I am a little confused on where to start though. Is there anywhere I can download an editor and compiler? Thank you. Nick Software Development c++ | |
Python is relatively new to me. I have mostly programmed in C and C++. I read that Python has a good build-in debugger, but I can not understand the information in the reference manual. Can anybody please give an actual commented example how this works. Software Development python | |
Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample … Software Development image java java-swing | |
Is it possible to print---- hello world on the screen without using semicolon( ; ) anywhere in the code...i was able to do it through MACROS..but is there anyother way?? Software Development c++ | |
Hi, friends! Could somebody tell me what code should be written for the following buttons to search the database ( I am using ADODC CONTROL) : Find First Find Previous Find Next Find Last I will be grateful for any response... Software Development visual-basic | |
Hi all I'm new to this site and hoping someone can assist with this problem. I've done all the code for the Tic Tac Toe game but having problems placing the 'o's & 'x's. This is the part of code I'm stuck on. Any help is greatly appreciated. [code]char PLAYER_TURN() … Software Development c | |
Hi Guys, We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like: ... <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0"> <PARAM name="uiMode" value="none"> <PARAM NAME="ShowControls" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM … Software Development audio first-post java javascript windows-server | |
I am working on a parsing a file . This is my problem. There are classes and subclasses. Classes/Subclasses are defined by attributes. The sub classes will inherit the attributes of its super class. For example: Employee(attrbts: name, salary) [INDENT]manager(attrbts: responsibilities)[/INDENT] [INDENT]clerks(attrbts: department)[/INDENT] Emp is a class with manager nd … Software Development java | |
can any body help me to find cool topics for miniprojects in SWING like text editor or..... Software Development java java-swing | |
Hello everyone Is it possible to use a variable for a vector name eg [code] MyVar.push_back(line); [/code] Software Development c | |
Greetings again forum goers! I have another question abound with plenty of obvious nooble errors I'm sure. I am making a memory game(You know the old game where you turn over cards and try to match two in a row, and memorize previous locations etc. ) and this is the … Software Development gui image java java-swing | |
Hello, noob here. I just started taking a C++ class this semester and I've been understanding everything so far, but I'm sorta confused on the nested if statements. My homework is to have the user enter a number and it'll show the roman numeral. However whenever someone enters an invalid … Software Development c c# c++ first-post | |
hey all, I just joined this community. I have been programming quite a bit in C/C++, however, this is the first time i am doing something like this. I have the Microsoft VC++ 6 package. The idea is to use the functions i have already written in the past( a … | |
hye... can anybody help me to make a program that will allow the user to make a list of the words that occur in the text along with a count for each word of how many times it occurs....tq.. Software Development c++ | |
I am having a problem getting started on an assignment. I have to write a program for a mortgage calculator with a set dollar amount and a set APR. The instructor mentioned using pseudocode. Could someone please point me in the right direction. Thanks Very Confused Software Development c++ | |
Just wondering if it is possible to do this? I am writing a program for a touchscreen monitor and would like an onscreen keypad. Is there any way to pass a key by pressing a button? For example, I press button '1' on the virtual keypad and I want the … Software Development pascal | |
Hey, I am trying to install the Java sdk on my computer. I downloaded the newest version 5.0_04 and I installed it. It seemed to work up until the end when an error came up, saying it didn't install properly. Here is the error, "Java update cannot retreive version information … Software Development java | |
[B]Please let me know that what's the component heirarchical structure, i.e, what comes first ...........window then applet or frame is pasted, then comes panel ,after that all GUIs. If I m wrong then plz tell. If I m right then also reply me, I am still confused[/B]. :confused: Software Development java | |
Not a problem as such but am i asking too much....heres the current situation: I've got a multi -dimension array populated........ [php] char buffer[5]; // holds name char holdingArray[5][5] = //holds populating array , copies to buffer { "Jame", "Anna", "heya", "rand" }; [/php] ok as you can see the … Software Development c++ | |
I've been creating a small program, thats work fine under windows xp, but fails on windows 2000 pro/server, and also windows 98. I need the software to work on also windows versions, etc 95 and ME. I can't install it as it is a check to ensure that various software … Software Development delphi pascal windows-server windows-xp | |
how would i coppy only specific things out of a directory. say *.mp3. I am able to copy the whold directory but i only want specific endings. this is part of the copy code [code] try { Directory.CreateDirectory(targerDirectoryName); string[] files = Directory.GetFiles(sourceDirectoryName); foreach (string fileName in files) File.Copy(fileName, targerDirectoryName + … Software Development | |
Hi New to the forum! I REALLY need help with a simple assembly calculator. Basically, the program is supposed to display a menu, obtain two numbers from the user (in the rang :confused: e of 0 - 9) and depending on the choice made in the menu add or subtract … | |
hey im new to this forum and new to programming and i got an assignment for a sales ticket generator and i clicked compile and it said variable burger might not have been initialized please help.... import TerminalIO.KeyboardReader; public class Resturant { public static void main (String [] args) { … Software Development java | |
I'm new to swing, and was curious if anyone could point me in the right direction here. Cannot figure out how to make this repaint crap work, or if I'm supposed to be using repaint(), or what, to make this image get drawn to the background of my window. Here … Software Development image java java-swing | |
I am receiving error messages for this palindrome problem. I am reading in a file and outputting the results if it is a palindrome or not using stacks. Any ideas as to why I am receiving error messages below. [code] include <iostream> #include <string> #include <cmath> #include <iomanip> #include <fstream> … Software Development c++ | |
hello fellows, I seem to have a little problem: I tried to use the function getattr([I]object[/I], [I]attribute[/I]) with two strings which is being read from a xml file as arguments, and seem to have a problem with sending the first one as a string. the function thinks that the string … | |
I need to make a project in C++(not very big) in my college....can you suggest me some good ideas.... I was thinking of implementing 10-15 algorithms with their complete complexity description can u give me some other ideas Software Development c++ | |
Hi I want to replace "ta,at,an,bc" in main string {ta,at,an,bc,ta,at,an,bc,ta,at,an,bc,ef,ta,at,an,bc,ta,at,an,bc" with (ta at an bc)*.The result array should be "(ta at an bc)*,e,(ta at an bc)*". Can anyone give me some hint? Thanks in advance. Software Development java |
The End.