132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for brando|away

Im working in visual studio. In a regular win32 console app i've written a class i want to use in other projects. Basically my question is what is the most efficient way to do this? (I just assumed it would be creating a header file) What kind of project do …

Software Development c++ visual-studio
Member Avatar for Dave Sinkula
0
143
Member Avatar for abhi_marichi

I want to develop a compiler which combines many of the concepts of OOPS as well as a structured language.... Is it worth using C for the development or should I use any other language..... and ofcourse I want to make it platform independent...... Is it possible in C I …

Software Development c
Member Avatar for Ancient Dragon
0
588
Member Avatar for alvalany

I just completed learning C . Now i would like to do something better. Wish to try a new language.The problem is that i cant select which one. Whether Visual C or JAVA or python ...... Also i would like to know the differences between Visual C and C.. Being …

Software Development c++
Member Avatar for inspiron630
0
109
Member Avatar for lehe

Hi, I was wondering how to debug python script without adding pdb module to the script file. Say, I have a script test.py without adding "import pdb" and "pdb.set_trace()". Can I debug it in Python running in terminal by importing pdb there? How to set up breakpoints and start the …

Software Development python
Member Avatar for Outdoor83
0
145
Member Avatar for carl9999

There's an error regarding the scanner and i'm honestly not sure how to make it work i'm using javac as a compiler, please help me solve this issue, ive been trying for hours [code]import java.util.*; public class testing { public static void main(String[] args) { String forename; String surname; String …

Software Development java
Member Avatar for carl9999
0
100
Member Avatar for ayan2587

hi Guyz... need some help here... i want to input an integer but it can be either in hexadecimal form or in integer form. the problem is that i would like to store that input in that particular form and separate all hexadecimal values in to an array. for ex: …

Software Development c++
Member Avatar for ayan2587
0
331
Member Avatar for ShailaMohite

Hi I am create one application in which add some selected images into flowlayout panel.how to select particular image from flowlayout panel and remove this selected images from flowlayout panel Regards, Shailaja

Software Development
Member Avatar for Geekitygeek
0
6K
Member Avatar for DC257209

[code=C++] // //********************************************************************************** //File Name: averages.cc //Description: Calculate the smallest, largest, and the average of the input values. //Date: 10-6-09 //********************************************************************************** #include <iostream> #include <string> using namespace std; int main() { string line; int min=2000000; int max=0; double avg; int next; double sum = 0; double count = 0; cout.setf(ios::fixed); …

Software Development c++ ios
Member Avatar for mrnutty
0
145
Member Avatar for Oritm

I created a map<string, void*>. The void* used to store an Object from a class called Window. I can cout a string with the following: [CODE] it = windowMap.find(title); if( it != windowMap.end() ) { cout << "Value is: " << it->first << '\n'; } else { cout << "Key …

Software Development c++
Member Avatar for Oritm
0
67
Member Avatar for kat1

I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me …

Software Development java
Member Avatar for sincerelibran
0
112
Member Avatar for Teethous

[TEX]Hey everyone, I am having a problem with converting my character array. The program runs, but in the display box I get little squares instead of a string. The program should display the first char of the fist name, the first five of the second name and a random number …

Software Development java java-swing
Member Avatar for Teethous
0
181
Member Avatar for DoEds

I dont know how to pass a value from the function [ICODE] total();[/ICODE] to [ICODE]main()[/ICODE]...i want get the value of the [ICODE]prod[/ICODE] and assign its value to bill...But this code i have will only redo the function [ICODE]total() [/ICODE]...Anyone can help please?. [ICODE]#include <stdio.h> #include <conio.h> int header(); int choices(int); …

Software Development c
Member Avatar for DoEds
0
138
Member Avatar for DoEds

Am i writing the correct pseudocode? Im confuse in pseudocode for while statement. [CODE] Start declare variables; print “choose account types”; read choice; if choice = ‘a’ then while n<=3 print userid and password; read userid1 and password; a = strcmp(u,userid1); b = strcmp(p,password); if a = 0 and b …

Software Development c
Member Avatar for ksj
0
133
Member Avatar for murid

I create a program that need to received some picture using socket programming, and coding for receiving picture is in background worker. PROBLEM : I need to make progress bar to show how much data I have received. my code still error... Help please... here's my code for received data …

Software Development socket-programming vb.net
Member Avatar for TomW
0
147
Member Avatar for vizardo

Hey guys ive been working on my first c# program and im finding it rather difficult at the moment. I have got as far as the code below, But i am having trouble getting it to send key strokes to either a specified process or a non active window by …

Software Development api windows-api
Member Avatar for DdoubleD
0
214
Member Avatar for procomp65

Hi I receive ascii data from the serial port which consists of only 0 to 9, /005, /004 and spaces between values, but sometimes the harware get spikes from the electric motors and then the recorder add some funny characters. I need to check the string PortData = "" to …

Software Development regex
Member Avatar for Geekitygeek
0
2K
Member Avatar for bobrien314

IS it possible to have text in the command line delimited by "" rather than white space?

Software Development c
Member Avatar for William Hemsworth
0
81
Member Avatar for hur1214

[CODE] phonenode *start_ptr = NULL; phonenode *crrnt_ptr; void alpha_order(){ phonenode *ptr, *curr, *temp; ptr = start_ptr; for(bool didSwap = true; didSwap;){ didSwap = false; for(curr = ptr; curr->next != NULL; curr = curr->next){ if (curr->surname > curr->next->surname){ temp = curr; curr = curr->next; curr->next = temp; didSwap = true; } …

Software Development c++ linked-list
Member Avatar for dkalita
0
94
Member Avatar for guilh_22

Hi everybody, I need some help with my first Java program. My teacher don't teach really good ... I have a problem to solve in my script. At that time all are okay but all number must be rounding to 2 decimal :S That's all my Java program (He is …

Software Development java java-swing
Member Avatar for javaAddict
0
135
Member Avatar for devidayalan

Hello, i need to create a webservices from the wsdl file using jaxws.Can anyone tell me how to do this in netbeans.it will be helpful if you explain me the helloworld sample in this regard. Providing the link for any article or tutorial is also welcome.Kindly help am new to …

Software Development java
Member Avatar for pooja.ui7
0
421
Member Avatar for robgeek

D.I.C Head ** Joined: 22 Oct, 2007 Posts: 51 [IN] My Contributions I am little confused here. So please help me. I am given a txt file in the following format 110001 + 123500 ...... I need to read these numbers into the source file, do the addition and then …

Software Development c++
Member Avatar for rbv
0
107
Member Avatar for ayan2587

hi Guyz... need some help here... i want to input an integer but it can be either in hexadecimal form or in integer form. the problem is that i would like to store that input in that particular form and separate all hexadecimal values in to an array. for ex: …

Software Development c++
Member Avatar for John A
0
161
Member Avatar for that_fox

Hello, this seems like it will be a helpful community. For my degree I need to take a basic C++ class and the only C++ class the offer that fits is an 8 week class, it [I]really[/I] goes too fast. Anyways, I've been trying my hardest, but my brain really …

Software Development c++
Member Avatar for chunalt787
0
168
Member Avatar for Evil Genius

Hi, I had a little personal project I made using Winforms in C#. When i published it, it gave me some installing files and stuff.. Is it possible i can make just an exe file out of it? one exe runs it all. its very basic project no db, or …

Software Development c#
Member Avatar for Evil Genius
0
154
Member Avatar for NicAx64

hi all, I write this program under the C++ not C. But I heaively used the malloc() and free() functions in my code. In brief what my code does is just allocate memory for NFA transition table. It grows dynamically. When the number of transitions is a %4 then it …

Software Development algorithm c
Member Avatar for dkalita
0
173
Member Avatar for jaymeaux77

Hi, I am fairly new at the whole programming racket and I am having trouble with an assignment for my computer science class. I know homework help is discouraged, I read that sticky, but I'm curious if I am missing a fairly simple mistake. The assignment is to make a …

Software Development python
Member Avatar for jaymeaux77
0
224
Member Avatar for kahaj

How would I draw a shape in an applet and have the border one color with the fill a different color?

Software Development java
Member Avatar for kahaj
0
84
Member Avatar for titansrealm

ok prof in college asked us to write a program for a simple gradebook. iv wrote it 3 times and still cant get it right. he wants it to be able to put in 10 names/ids and 10 grades,and get a listing of those grades getting an average. im butchering …

Software Development visual-basic
Member Avatar for jhai_salvador
0
90
Member Avatar for gunjannigam

I needed to draw an image and paint a needle on it. Since my image is stationary(it doesnt change) I dont want to paint it each time I call repaint. Thats why I thought of using JLabel with an Icon image. The problem is I cant paint anything on top …

Software Development java java-swing
Member Avatar for gunjannigam
0
257
Member Avatar for ccoleman52932

The following is my class project and I do not have a clue where to begin. Could someone at least point me in the right direction? For this project we are going to work with computing the Fibonacci Sequence (also called Fibonacci Number). We will be using a menu to …

Software Development c++
Member Avatar for ccoleman52932
0
89
Member Avatar for PysKo

What im trying to do is when someone checks a certain amount of items say like 6 then they try and select 7 it removes the 7th then a label says "Too many selections" and ive bin searching for like a day now and couldnt find anything and any help …

Software Development vb.net
Member Avatar for TomW
0
151
Member Avatar for nagatron

Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how. . .I have attached an image of …

Software Development gui java
Member Avatar for nagatron
0
198
Member Avatar for Mahyar

[code=cplusplus] #include <iostream.h> #include <conio.h> char *mystrstr(char *,char *); void main(void) { clrscr(); char *str1,*str2; str1 = new char[100]; str2 = new char[100]; cout << "Enter first string: "; cin.get(str1,99); cin.get(); cout << "Enter seconed string: "; cin.get(str2,99); cin.get(); cout << mystrstr(str1,str2); getch(); } char *mystrstr(char *s1,char *s2) { // …

Software Development c++
Member Avatar for sarayaj
0
203
Member Avatar for EddieC

Urbancode today unveiled AnthillPro 3.7, the latest version of its build and deployment automation tool that piles seven popular source code analysis tools onto its [url=http://www.anthillpro.com/html/products/anthillpro/tool-integrations.html]list of third-party integrations[/URL]. There's also support for the GIT repository and DB2 and PostgreSQL databases, the company said today in a statement. Anthill Pro …

Software Development asp.net c++ java
0
337
Member Avatar for jakesee

Hi, I have the following functions [CODE]void LoadData(char* file, float* data1, float* data2) { // read data size and contents from file data1 = new float[dataSize1]; data2 = new float[dataSize2]; // store data data1[0] = 1.0f; data1[1] = 2.0f; // etc ... } void ComputeData() { float *data1 = NULL; …

Software Development c++
Member Avatar for jakesee
0
297
Member Avatar for MMD88

This one I almost have figured out (I believe). it is a program that takes a String in the main class and calls on a method to count the vowels inside the String. I then have to count each vowel (a,e,i,o,u) and input the total number of vowels (separately) into …

Software Development java
Member Avatar for MMD88
0
738
Member Avatar for maccyjam

Hi, I am trying to make a quiz and i want it so, that if you get the correct answer you go to the next form and close the previous one but if not, it will make pop-up box that goes back to the question when pressed OK. Here is …

Software Development vb.net
Member Avatar for TomW
0
92
Member Avatar for adi.shoukat

Plz tell me how can i delete a particular string from given file .... plz help .. I've no idea :(

Software Development c
Member Avatar for William Hemsworth
0
98
Member Avatar for llemes4011

Hi everyone. I know that asking for project ideas is generally frowned upon, but I wish to ask anyways. This isn't for school, it's just because I want to. I want to start writing applications that would be used in a business or workplace environment. I don't have a lot …

Software Development app-store java
Member Avatar for llemes4011
0
245
Member Avatar for lotrsimp12345

Basically the please hit any key to enter doesn't show up in Visual C++.Thanks for help main //CS 310 /*Create a text file and input in certain data into the text file*/ //Program one #include <iostream> #include <fstream> #include "Account.h" using namespace std; int main() { account b; char name1[256]; …

Software Development c++
Member Avatar for lotrsimp12345
0
195
Member Avatar for whiteyoh

Hi All, I have an array of 3 objects stored in cdList. Because I have now added them to an array, the usual method of displaying no longer works: [code]System.out.println(cd1.getArtist() + " " + cd1.getTitle() + " " + cd1.getCost());[/code] My questions are...... how would i amend to output the …

Software Development java
Member Avatar for whiteyoh
0
82
Member Avatar for whiteyoh

Hi, Im fairly new to java and im working my way through a load of exercises and im a little bit stuck on something. I have two classes, one of which holds the main, which creates 3 objects. I would like to know how to how to count the total …

Software Development java
Member Avatar for whiteyoh
0
287
Member Avatar for BestJewSinceJC

It took me very little effort to put a JComboBox in a JTable so that when the cells in a certain column are clicked, it lets the user choose from a drop down list of items. However, my program requires that the underlying combo box can change, since the list …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
2K
Member Avatar for shahab.burki

Hi, I am doing network programming in C on Ubuntu using gcc. I am facing the problem how to convert an Integer Type to ASCII Type. I have used itoa() and sprintf(), but wasn't that fritful. Can any one suggest a suitable solution to it?

Software Development c ubuntu
Member Avatar for manutm
0
575
Member Avatar for kiuhnmgrtdcv

hi how can i terminate a process using vc++ i check somewhere and i found TerminateProcess function but this is not useful to terminate a process by it's name[for example notepad.exe] i hope you help me

Software Development c++
Member Avatar for rbv
0
152
Member Avatar for CurtisEClark

[CODE]#Program to count number of specific vowels msg = input("Enter a message:") msg_lower = msg.lower() VOWELS = list(aeiou) msg_list = list(msg_lower) x = () for letter in VOWELS: x[letter] = msg_list.count(letter) for letter in x: print(a, x(letter)) print(e, x(letter)) print(i, x(letter)) print(o, x(letter)) print(u, x(letter)) [/CODE] I get an error …

Software Development python
Member Avatar for masterofpuppets
0
85
Member Avatar for coollife

Hi I am looking for an internet explorer project which blocks all the websites and in turn direct or opens a single website which i specify. Ex: in the code of the project if i give a website name abc.com whichever website u open in IE it may be google.com, …

Software Development visual-basic
Member Avatar for Vineeth K
0
298
Member Avatar for Carrots

Hi, I am for the first time using Strings in a program, and for some reason my program wont compile. When I use integers the program compiles and runs fine, but since I've changed it to use strings it's giving the following error (Visual Studio): [QUOTE] error C2511: 'Leads::Leads(std::string)' : …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
140
Member Avatar for djmd60

[CODE]Hello everyone, I am write a program, which have to read an excel file and save it in an access table. The excel file will be upload. The data will be read and saved in an access table named smsbestand. Can anyone one help here is the code: extension = …

Member Avatar for TomW
0
135
Member Avatar for gauri_phatak_87

Hello everyone, I have to write a code to creat a pseudo assembler..I have an input file from which i read the assembly instructions from there i get the register numbers ...i have to convert that into machine code..i.e binary form... Now my problem is that i can find the …

Software Development assembly c++
Member Avatar for mrnutty
0
752

The End.