132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gaurav seth

/*how to swap two variables without using third variable in c*/ /*program to plot sign of angles from 0degree to 180 degree with increment of 10 degree*/

Software Development c
Member Avatar for Ancient Dragon
0
84
Member Avatar for exotic_ang

[COLOR=black][COLOR=black][B]hey im lost, so was wondering if anyone would help me. Im doing a program for a DVD rental system. When it comes to searching the rentals by ID, I cant seem to make it show all the DVD's that the customer has rented not only one. I dont know …

Software Development pascal
Member Avatar for exotic_ang
0
130
Member Avatar for rwagnes

hi, I am using the header file cnaiapi.h. The c files which include it do not compile because await_contact_mutex, cname_mutex, and appname_mutex are undefined. These are defined in the header file as extern HANDLEs. Any ideas? Thanks[COLOR=#808080] [/COLOR]

Software Development c
Member Avatar for rwagnes
0
312
Member Avatar for rwagnes

Hi, I have visual studio 2005 C++ Express Edition Installed. The instructions I have to create a library file are as follows: 1. Create a project 2. Add Header Files to the project 3. Change the Configuration Type on the Properties Menu to Static Library (lib) 4. Still in the …

Software Development c++ visual-studio
Member Avatar for rwagnes
0
176
Member Avatar for keithh

So here's the question that I've been thinking over for a few hours: MIPS to C. Assume $s3 = i, $s4 = j, $s5 = @A. Below is the MIPS code: Loop: addi $s4,$s4,1 # j = j + 1? add $t1,$s3,$s3 # $t1 = 2 * i add $t1,$t1,$t1 …

Software Development assembly
Member Avatar for keithh
0
198
Member Avatar for hanifa

Hi this is my first paste... [URL="http://paste.plone.org/12700"]http://paste.plone.org/12700 [/URL][Contains my input.xml and transform.xslt and output file it generated. [URL]http://paste.plone.org/12706[/URL] .. this contains my new input.xml file.. And in here, all the Activitiy's tag attributes are being rewritten as children. And here is the xslt which i tried to write and failed... …

Software Development xml
Member Avatar for hanifa
0
89
Member Avatar for wwwglobrazilcom

Which game do I buy for my kids? We are looking for a nice and safer game! <url snipped>

Software Development visual-basic
Member Avatar for ruichenma
0
86
Member Avatar for lotsofsloths

[CODE] //The ATM Mahcine #include <iostream> using namespace std; int main (const int) { int cash; int bank; int choice2; int choice3; char choice1; cout << "please enter amoount of $ in bank: "; cin >> bank; cout << "please enter amount of $ in cash(hand/wallet): "; cin >> cash; …

Software Development c++
Member Avatar for John A
0
129
Member Avatar for Scope9000

Can any1 just give a quick explination to each of these and what they do thanks. [code=vb] Private Sub cmdAverage_Click() picBox.Cls picBox.Print "Name", "Ass1", "Ass2", "Ass3", "Total", "Average" picBox.Print "__________________________________________________________________________" For a = 1 To c Average(a) = calAverage(ass1(a), ass2(a), ass3(a)) picBox.Print names(a), ass1(a), ass2(a), ass3(a), total(a), Average(a) Next a …

Software Development algorithm visual-basic
Member Avatar for WaltP
0
128
Member Avatar for kavitha0904

hi.. pls anybody can tell me what is CHECKED AND UNCHECKED EXCEPTION means.. i dont understand this.. pls help me..

Software Development java
Member Avatar for jwenting
0
72
Member Avatar for Mix

I'm getting these down to the tee as I'm into C# and Java right now as they are very similar. My question is what are the key and not so obvious differences between a class and a namespace? The question has been with me for a few days, and I …

Software Development
Member Avatar for Mix
0
149
Member Avatar for msamir

I done my logincontrol project in c# using asp.net2.0. it is accepting spaces in username textbox which i don't want.It should not accept any spaces before entering text.please give solution.

Software Development asp
Member Avatar for jbennet
0
111
Member Avatar for Coool Pinky

hi, i m trying to do my library project in C#,i am new to this language i dont know how to write login code in c#,can sombody help me

Software Development c#
Member Avatar for jbennet
0
199
Member Avatar for ulethgeek

so i'm learning MIPS right now and i think i get the hang of things, mind you it's all relatively easy (so i've been told), but i can't seem to get around this one problem. i was given a C++ fragment and need to convert (translate) it directly to MIPS. …

Software Development assembly first-post
Member Avatar for Ancient Dragon
0
182
Member Avatar for Pauer100

I have an employee class see atthachement whic compiles fine and i have written some code called EmployeeAdd which uses the Employee Class which was deifining an Employee. However my problem is when i am trying to import the Employee in to EmployeeAdd the error message i am getting is …

Software Development java
Member Avatar for Pauer100
0
140
Member Avatar for smallpau1

[code=c] #include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; double power(double b, double p); void main(void){ int base = 0, power = 0, result = 0; cout << "Programmed by ." << endl << endl; cin >> base; cout << " ^ "; cin >> power; result …

Software Development c++
Member Avatar for Salem
0
122
Member Avatar for edy_ml

Hai guys My name Eddy, I'm HND Software Engineering at TATI, Malaysia, this is my 1st year of study, i need help ! somene can change below source code to templete by using C++ source code please help ... this is the source code: ----------------------------------------------------------------------------------- [code=cplusplus] #include<iostream> using namespace std; …

Software Development c++ engineering
Member Avatar for WaltP
0
156
Member Avatar for megabutt

Hi folks, from a newly created executable I am getting an "unhandled win32 exception" each time I run it. I don't even know how to begin to evaluate this error. Pls help. Debugger error dialog: Unhandled exception at 0x7831c5c2 in ATV.exe: 0xC0000005: Access violation reading location 0x00000000. Thanks in advance

Software Development c++
Member Avatar for megabutt
0
109
Member Avatar for rpjanaka

hi i want to break the following string.. {ok,[{operators,'sri','mob',45,45,45,45},{operators,'sri','dia',45,45,45,45}]} by using [COLOR=red]{operators, [/COLOR][COLOR=black]this point.. i used the StringTokenizer class to do this by giving the [/COLOR][COLOR=red]{operators, [/COLOR][COLOR=black]as Delimiter. But when it runs it gives completely different result than I expected that is it was matched any character that the delimiter …

Software Development java
Member Avatar for rpjanaka
0
192
Member Avatar for megabutt

Hello, I am learning the ropes here. I have a non-code question, strictly conceptual. How (generally speaking) do I design my project in Visual Studio C++ to acheive the flow in the block diagram, and specifically how do I access Var A and Var B from Main.cpp if they are …

Software Development c++ visual-studio
Member Avatar for megabutt
0
180
Member Avatar for Mac.Z

Hello, I'm getting started with C++ and have some questions about the variable types: 1)The size of a variable type, is it defined by the compiler or computer or both? and why it differ from one to another? 2)Isn't [I][B]short int[/B][/I] supposed to hold smaller data than [I][B]int[/B][/I] can hold …

Software Development c++
Member Avatar for John A
0
121
Member Avatar for itdisc

Hi all, I Just have to retrieve the data from the oracle database n just write the retrieved data to text file.Please Can anybody send me the code? Its very urgent. [IMG]http://forums.devx.com/images/smilies/frown.gif[/IMG] Thanks in advance.

Software Development java oracle
Member Avatar for ajay_tabbu
0
110
Member Avatar for AussieCannon

Hello, I am very new to python (a few days) and am wondering how i should go about generating random gridpoints and comparing them to ones inputted by the user. I am completely lost on how i can get the input of the x and y coordinates from the user …

Software Development python
Member Avatar for vegaseat
0
444
Member Avatar for ajay_tabbu

[code=java] class Rev { char a[]; char i=3; void str() { for(i='A';i<'D';i++) { a[i]='i'; } } void show() { for(int i='A';i<'D';i++) { System.out.print(a[i]); } } Void reversStr() { for(i='A';i<'D';i++) { System.out.print(a[i]); } } } class Revers { public static void main(String[] args) { Rev a1=new Rev(); a1.str(); a1.show(); a1.reversStr(); } …

Software Development java
Member Avatar for iamthwee
0
87
Member Avatar for defience

I'm still new to python and need some help writing a program. I need to write one that runs a *.exe and then checks some timings in it. There are 3 numbers ranging from 0<1000 that are hidden in the *.exe(app.exe). If the script runs the app.exe and then runs …

Software Development first-post python
Member Avatar for vegaseat
0
158
Member Avatar for defience

I'm new to Python and this was written and posted by someone else on another site as a tutorial for a word unscrambler. I thought it was well written and liked the explanations but I tried to use it but keep getting an error message: line 27, in <module> letters …

Software Development python
Member Avatar for defience
0
127
Member Avatar for Shark7

I need to calcualte the scalar product given two lists of numbers... [code]v1=input("Insert the first vector: ") v2=input("Insert the second vector: ") for i in range(len(v1)): v3=v1[i]*v2[i] print v3 [/code] this code will multiplie all the numbers in list v1 and the numbers in list v2 but the result doesn't …

Software Development python
Member Avatar for Shark7
0
355
Member Avatar for MattEvans

Is there a standard way to make constants defined using the [inlinecode]use constant[/inlinecode] pragma available to all of the packages that are use'd from an executed file? Or even better, to make the constants defined in a package available to other packages that use that package? It seems like anything …

Software Development perl
Member Avatar for lordspace
0
133
Member Avatar for Matt Tacular

I have some code that generates numbers, and I wish to add them to some kind of list, I did research and an array seems to be close to what I want, but I can't find how to add a generated variable to it. Or is there some other kind …

Software Development c++
Member Avatar for Matt Tacular
0
75
Member Avatar for Tauren

Well, is there a book I can get that teaches me all about How to create a game engine? Like how to create a game engine and stuff?

Software Development c++
Member Avatar for John A
0
125
Member Avatar for CurtisBridges

Exceptions -------------------------------------------------------------------------------- I am working on a class project as layed out by the instructor. This is in conjunction with Chapter 13 (Exceptions) from the book How To Program in C++ by Deitle 4/e. I am at a total loss on this subject. I thought that catching problems was up …

Software Development c++
Member Avatar for John A
0
124
Member Avatar for kimbokasteniv

I was going through the questions in my study guide for computer science, and I noticed a few blocks of code that contained syntax that I had never used before. My first question is on the ^ operator. What exactly does this do? My second questions is on the use …

Software Development java
Member Avatar for kimbokasteniv
0
137
Member Avatar for Virii

So I'm looking into colleges and I see that ITT Tech has a Software Engineering program, and I'm just curious if you guys think this degree is worth the $70,000 or if it's not even worth the paper it's printed on. I want to program video games, websites or software …

Software Development c career engineering video
Member Avatar for Ancient Dragon
0
88
Member Avatar for javabuddy

hi, anybody can teach me how to code user interface in swings using ftp protocol? awaiting for ur reply java buddy

Software Development java java-swing user-interface
Member Avatar for kimbokasteniv
0
83
Member Avatar for shrini

Firstly,I used an option [B]javac -deprecated[/B] javafilename.java and compiled.secondly i have run the program using [B]java[/B] filename but cannot view any result. can anybody help in this regard,ur help much appreciated Thanks, Shrini.

Software Development api java
Member Avatar for jwenting
0
2K
Member Avatar for mladen17

Hello! I was reading a lot about all kinds of programs here for COMport but i need samothing less complicated so i lost interest in rreading kilometer post thet are more advanced form my level. Thnig is that i just need to output 0 or 1, i don't need any …

Software Development first-post visual-basic
Member Avatar for mladen17
0
84
Member Avatar for Matt Tacular

First of all, let me exaplain that I only really know python. I thought I would give c++ a try and since then (about two days ago), I have read a few tutorials and have made a guess number game. I thought I would be able to rewrite one of …

Software Development c++ python
Member Avatar for Matt Tacular
0
241
Member Avatar for raydogg57

I need help developing a program that acts as a command line parser. Essentially, my program needs to ask the user to input a command line: eg - A+B=C. It will then output the following: A + B = C. Although this seems basic, my program needs to recognize different …

Software Development c++
Member Avatar for ~s.o.s~
0
139
Member Avatar for Aia

May I impose on you guys again? I'm trying to learn how to write to disk into a file. I think I got that down, however I would like to be able to display to screen the same text is being written to file. What's a way of doing that?. …

Software Development c file-system
Member Avatar for Ravalon
0
175
Member Avatar for charmee

this is a program on pay roll.. [code] #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> #define MAX 5 //#define DATAFILE "c211" typedef struct { char ID[6]; char firstname[10] char civilstatus; int dependents; float netpay; float grosspay; float taxwithheld; float sss; } employee; /*---------------------------------*/ char Menu(char choice){ do{ printf("\n<< CS …

Software Development c
Member Avatar for kenjutsuka
0
106
Member Avatar for Scope9000

Hi guys just wondering can any1 help i have a project for collage and vb6 is really not my thing yet Its my firdt year in collage and im doing computer maintenance and repairs Vb6 is apart of it and to me it doesn't make any sence to me can …

Software Development visual-basic
Member Avatar for Scope9000
0
70
Member Avatar for iubike

I just don't know what to do to end the damn loops!?! [code] #!/usr/bin/perl -w use strict; print "Welcome to Techno-Bank 3000.\n"; print "Enter command => "; my $input = <STDIN>; chomp $input; my ($command, $user, $amount) = split / /, $input; my %accounts = ( $user => $amount ); …

Software Development perl
Member Avatar for masijade
0
100
Member Avatar for tradfreak

hello :-) I'm Sean and currently a 3rd year BS Business Admin. Major in Management Information Technology student... due to my limited programming skill... i know this would be a simple programming problem to you guys out there so i would like to get inputs on how am I to …

Software Development c++
Member Avatar for fesago90
0
110
Member Avatar for hariza

Hi Guys, I have written the below code but still need to remove the null terminator at the end of each string but don't know how. I've try strtcpy , srtcncpy but doesn't work. Any ideas would be highly appreaciated. thanks. [code=c] while (!feof(fp)) { fgets(line,LINE_BUF,fp); count++; strcat(string1,line); printf( " …

Software Development c
Member Avatar for hariza
0
5K
Member Avatar for FireSBurnsmuP

Well, I guess I'm just here out of curiosity. I would like to know how one would go about outputting an image file. I thought that maybe you could declare an [inlinecode]ifstream[/inlinecode], and try to read it in, but I don't know how I'd go about that either... Any ideas? …

Software Development c++ image
Member Avatar for John A
0
179
Member Avatar for Laughs Galore

NVM. I finally got it after hours of reading lol.

Software Development c
0
51
Member Avatar for MattEvans

Relevant header definitions are as: [code] class XMLChain { private: Segment root; std::vector<XMLOpen*> chain; Segment * immediate; std::vector<XMLOpen> openers; [/code] The function in question is: [code] void XMLChain::open(std::string tag) { Segment * last_immediate = immediate; openers.push_back( XMLOpen ( tag ) ); XMLOpen * cast_immediate = &(openers.back()); (*last_immediate).setNext( cast_immediate ); immediate …

Software Development c linked-list
Member Avatar for MattEvans
0
105
Member Avatar for amishosh

Hi! Even when I use windows versions of C++ compilers (Visual studio or Borland) when I compile my program it opens up in a DOS window. Is VB the only way the program will open up in a windows like window? Thanks, Ami

Software Development c++ visual-studio
Member Avatar for fesago90
0
124
Member Avatar for megabutt

Hey folks, I thought that recently I transitioned form NOOB to novice until I had this question. Oh, well. Why can't I create an executable in Visual Studio 2005? I have my Win32 project code debugged and it builds a library object file, not .exe. I am in release mode …

Software Development c++ visual-studio
Member Avatar for John A
0
99
Member Avatar for Tauren

Hi! The gems programming Series Can I just start off with Gems programming 9 or do I have to start off with 1 and work my way up?

Software Development c
Member Avatar for John A
0
107

The End.