132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arupa

write a programme which will show you which programming language you used to write this programme

Software Development
Member Avatar for LizR
0
108
Member Avatar for MaxDev

Hey guys, how can I add two numbers stored in asciiz format ? str1 db "2",0 str2 db "3",0 thx.

Software Development assembly
Member Avatar for MaxDev
0
98
Member Avatar for kasp4me

Hello, if anyone can help I'd greatly appreciate any input! I am of course another newbie and attempting to compile the Inventory program - it contains arrays and I am trying to create a method to calculate the total inventory which is contained within the array named sumInventory[] Here's the …

Software Development java
Member Avatar for kasp4me
0
150
Member Avatar for danfi766

[B]******************************[/B] [B]Sorry guys this works I tested with bad values[/B] [B]******************************[/B] Hello I'm having trouble with this function i have a list with dicts and I'm trying to make a search in the list. The problem is that my function doesn't return the list even though i know the values …

Software Development python
Member Avatar for Gribouillis
0
114
Member Avatar for BestJewSinceJC

Ok so lets say I have any GUI that needs its contents changed while it is running, so that it will re-display the new contents. An example would be a JTable that just lists things from an ArrayList. So if I had an ArrayList<GroceryList> my JTable might have Cheese Crackers …

Software Development gui java
Member Avatar for sanaulla123
0
7K
Member Avatar for viber101

hello everyone, is there any tool class or utilities class in java class library that can run/view .class file?. for example if i click a jbutton i can view a .class file.. Please help. thanks.

Software Development java
Member Avatar for stultuske
0
150
Member Avatar for Kev_McG

As part of my A-Level computing coursework i have to simulate an end user and design a programe for them. I have the code to allow for a listbox were you select from a list of usernames you want but for added security i want to ammend it so you …

Software Development pascal user-interface
Member Avatar for LizR
0
140
Member Avatar for bulawa2002

I've an ASP.NET app that scans the network for computers, printers etc and return information about them. Now, I was able to pull information like printer names, location, printqueus etc but it would be great if i can obtain information about the tonel level on a particular printer on the …

Software Development asp.net printer
Member Avatar for LizR
0
109
Member Avatar for nekt

I have doubt about MouseEvent consume(). And, what it is used for? As, I tried an example and I could not figure out what it was doing Please give your suggestions on this Thanks Nick

Software Development java
Member Avatar for nekt
0
150
Member Avatar for u3mo

I'm running this code in Visual C++ 6.0 and it won't run correctly.. need some expert help.. I don't know what's wrong with this code.. Thanks for the help in advance.. [code=cplusplus] # include <iostream> using namespace std; int main() { char one, two, answer; do { system("cls"); cout<<"\n\n\t\tSelect a …

Software Development c++
Member Avatar for chococrack
0
114
Member Avatar for polo_coins

I want to round number for example number 2.8 to 3 and 2.4 to 2.5 how I made so in C# I heard something about Math.Round function but it doesn't work properly Thanks Sergey

Software Development c#
Member Avatar for ddanbe
0
505
Member Avatar for eberger2001

I have a whole bunch of pictureboxes on my form, they have the name picturebox1, picturebox2...picturebox36, and I was wondering if there was a way I could access them using an array. Would I have to create them using a picturebox array and manually type in their locations and such, …

Software Development vb.net
Member Avatar for eberger2001
0
99
Member Avatar for eng.N

hi , I'm using VB.net : I want to create login and check if the user is admin or not from the table in the database . in my database i have table(Log_in) contains : user name , Password , User Type . I create Login Form : [code=vbnet] Private …

Software Development vb.net
Member Avatar for eng.N
0
191
Member Avatar for lllllIllIlllI

Hi Im pretty new to the whole C++ programming language but after learning python and java i decided to give it a go. I have been using tutorials at [url]www.cplusplus.com[/url] and that has been working fine but i came across a bit of code today i couldn't understand. It went …

Software Development c++ python
Member Avatar for lllllIllIlllI
0
145
Member Avatar for mayafree2002

What mathematical function do ASR and ROR perform? For instance I have a two registers for storing a value of 2bytes (R5:R4) then I use [code=assembly] SomeProcedure: mov r20, r2 clr r3 clr r4 clr r5 cpi r20, 0 brge ProcLoop neg r20 com r3 ProcLoop: cpi r20, 0 breq …

Software Development assembly
Member Avatar for mayafree2002
0
141
Member Avatar for Se7Olutionyg

[CODE]// program 5: implement a decision structure for the following computation # include <iostream> using namespace std; //function used void instruction (); int main () { int income, tax,total; instruction(); // get the income cout << " input your income : $" <<endl; cin >> income; if (income <= 15000) …

Software Development c++
Member Avatar for Se7Olutionyg
0
116
Member Avatar for iheartcoheed129

I am trying to write a program that reads an inputted sentence and takes each word an puts them on a separate line. Then the program needs to count the number of words. I really do suck at this and am only still in this class because I have to …

Software Development java
Member Avatar for jared_masc
0
126
Member Avatar for Ellisande

So for my project I'm working on, we have to simulate a game of Sorry. There are 1-4 players who are each represented by a color. Player 1 is always BLUE, 2 is YELLOW, 3 is GREEN and the 4th player is RED. Each color has it's own unique start/home …

Software Development c++
Member Avatar for ST865
0
115
Member Avatar for panpanf

I am studying c++. I have many questions about the layout of classes and compile of template, etc. I know these questions are concerned with compiler, but i don't know any book about the deep principle and design of some c++ compiler. Anyone can give me a suggestion?

Software Development c++
Member Avatar for panpanf
0
105
Member Avatar for dmanw100

I am writing a program using strings to pass messages into SDL functions. For some reason the compiler will not let me create any string objects though. I get a 'string' undeclared error when I try to compile this code: [CODE]#include "SDL/SDL.h" #include "SDL/SDL_ttf.h" #include <string> int errorMessage(int errorNumber) { …

Software Development c++
Member Avatar for dmanw100
0
156
Member Avatar for sladesan

Hi i am new to C++ I am have a error like the one above: on a linux working in the termial commands c++ round.cpp -lpthread -o moo.exe -- build file ./moo.exe -- running file get *** glibc detected *** ./moo.exe: free(): invalid pointer: 0xb7f226ec *** then shows ======= Backtrace: …

Software Development c++ data-structure
Member Avatar for stilllearning
0
169
Member Avatar for alin_yuhee

i'm trying to make a geme with c++ but i can finish it because i have trouble with the code :( .....this is the code of the game that i want to make.... [code=cplusplus] #include<iostream.h> #include<conio.h> #include<graphics.h> //using namespace std; int main(void) { double pos_x,i_pos_x,pos_y,i_pos_y,vel_x,vel_y; double time,gravity ; //t=time,g=gravity int …

Software Development c++
Member Avatar for alin_yuhee
0
116
Member Avatar for lanilonzo

I am trying to put a multimap inside of a separate class for easy lookup of objects downstream in another main code that I am trying to access. If I put the multimap inside of my main routine and insert items from there it works fine. The second I move …

Software Development c++
Member Avatar for stilllearning
0
71
Member Avatar for cescbayo

[COLOR="Green"]Hi,[B][I][/I][/B] Can some please help me the type of errors in programming?[/COLOR][B][I][/I][/B]

Software Development java
Member Avatar for stultuske
0
118
Member Avatar for ezkonekgal

what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?'

Software Development java
Member Avatar for stultuske
0
168
Member Avatar for Liszt

With the code below I want to execute a task if the day is saturday and if the minute is >= 14. There is 2 things I wonder here. The code below is an infinite loop that never stops. So it checks for if this criteria is true but when …

Software Development c++
Member Avatar for Liszt
0
183
Member Avatar for JimD C++ Newb

Hello, all! I'm getting an error that I don't understand, and would greatly appreciate some other input from somebody more experienced than me! So here's the problem: I have a tree that I can put nodes on, take nodes off, search, etc etc. I have one last function that I …

Software Development c++
Member Avatar for chococrack
0
128
Member Avatar for guest7

Hi, I am getting the following error: test.o(5209) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug I am using finite recursive function in my program. Please help with my query. Thanks

Software Development c++
Member Avatar for ivailosp
0
89
Member Avatar for Somersett

My program uses a buffer to store data as entered by the user, so that the size of the buffer depends on them. The first thing that came to mind is that I would reallocate memory each time more storage is needed, but that doesn't seem reasonable as the data …

Software Development c storage
Member Avatar for Somersett
0
102
Member Avatar for sundeeppro

[FONT=Garamond]I am in my final year of engineering and I have to submit do a project I aim to do it in .net linking my project done in my personal pc with internet explorer where the client's workspace will be provided. now the question arises to me of how to …

Software Development engineering vb.net xml
Member Avatar for mshahed84
0
90
Member Avatar for sundar.mn

HI and hello, This is sundar...i'm posting a project that i've done 'Airline Reservation System'... Pls go thru it and let me faults if any...and also how to enhance this code.... (pls find attachment)

Software Development c++
Member Avatar for Ancient Dragon
0
154
Member Avatar for preetika

Hi I am new to javamail API. I added mail.jar and activation.jar in my jre/lib/ext.But still when I am trying to run programs I am getting an error of java.lang.NoClassDefFoundError in main .. can anyone help !! i really need to begin up coding as the deadline's approaching

Software Development api java
Member Avatar for stultuske
0
87
Member Avatar for gregorynoob

okay, so i came up with this idea of making a program to evaluate my code. it's supposed to take the code, compile it, run it on several test cases (given in one file each) and report how the code did (which test cases it passed, which cases it failed...) …

Software Development c++
Member Avatar for Salem
0
241
Member Avatar for maori

Hi Guys is there a way to incorparate the ping function into a app what i want to do is when the user trys to connect it opens a window and displays 1, pinging "ipaddress" and if succesfull displays connecting to host ie "ipadress" from above but if no ping …

Software Development c++
Member Avatar for maori
0
343
Member Avatar for killdude69

Ok, I have a DLL I made. In the DllMain function, I have a variable called my_var (const char[13]). I compiled the dll (called "WGCL") and put it in the debug directory of my Win32 Project. I used /DELAYLOAD:WGCL.dll to Delay Load the DLL which seems to be the only …

Software Development c++ pascal
Member Avatar for Ancient Dragon
0
153
Member Avatar for tytelizgal

Hello, Here is my problem: I declare the vector struct in my .h file and then try to access its fields in the .c file. I did declare a variable of type vector. However, I get a compiler error saying that 'vector has no member named' [x] where x is …

Software Development c
Member Avatar for ahamed101
0
94
Member Avatar for nishant3316

HI, I want to sort the elements of an array in ascending order. The elements are in floating point. how do i go about doing this? Thanks for your help. Nishant

Software Development c
Member Avatar for ahamed101
0
212
Member Avatar for scotchfx

I've got a question for all of the veteren C++ programmers out there.... I know that in_addr_t is a byte addressed value (representing an IPv4 address) however in debugging this code I was expecting a compile error ( scope of ipaddr declared in if statement would not extend to the …

Software Development c++
Member Avatar for ArkM
0
84
Member Avatar for Chemist

Hi guys, I'm trying to write my first little program... I tell python the number of minutes i want it to shutdown/hibernate my computer and it will add that to the current time and perform the necessary action. However I'm really struggling to add the number of minutes to the …

Software Development python
Member Avatar for Gribouillis
0
139
Member Avatar for Khae

hi guys need help I resently just started c++ and on classes and have a project to print a tag to be attached on a luggage and deppending on wether the costomer want it delivered at home or pick it up at the airport. Plz find attachment

Software Development c++
Member Avatar for Peter_APIIT
0
100
Member Avatar for dhatfield

Can someone explain to me how to convert a number to a string. For example like this number 99812.50 to a string in words (Ninety nine thousand eight hundred twelve dollars and fifty cents,

Software Development java
Member Avatar for stultuske
0
70
Member Avatar for ezkonekgal

i don't get it how do you create a text file? i've read some tutorials but still can't understand.. some1 help me?

Software Development java
Member Avatar for stultuske
0
106
Member Avatar for massivefermion

Hi please someone tell how to find and install packages? thanks

Software Development python
Member Avatar for Gribouillis
0
160
Member Avatar for Se7Olutionyg

Calculator should display the accumulated value after each operation [CODE] //FILE: PROGRAM3.CPP //AUTHOR : AM NGUYEN //COURSE NAME : CS210 //DATE : // DESCRIPTION : A SIMPLE CALCULATOR # include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); void main() { …

Software Development c++
Member Avatar for unbeatable0
0
90
Member Avatar for hisheeraz

Hello friends, can somebody please tell me how can i implement scroll bars onto a form so that i can put more controls on it... please hlp. ta

Software Development vb.net
Member Avatar for hisheeraz
0
138
Member Avatar for NinjaLink

Hello all... I'm having a few problems with my program. I will list the problems that I need help with.. 1) I need help printing out the highest testScore (I'm am getting garbage numbers) 2) I need help printing out the person's name in my input file who has the …

Software Development c++
Member Avatar for NinjaLink
0
134
Member Avatar for deflamol

Hi, I am having issues with assigning a value to a string. I have two structures node and edge as follows: [code] struct node{ string name; int key; }; struct edge { node u; node v; int weight; edge *link; }*front = NULL; [/code] Now I have a function that …

Software Development c++ queue
Member Avatar for deflamol
0
110
Member Avatar for peachslasher

Hi guys, By any chance do any of you guys know any way to implement an array of linked list without using vector, since i need to implement an array of linked list using c and unfortunately vector library is unavailable. This is what i did: [code] Struct MyList{ int …

Software Development c linked-list
Member Avatar for peachslasher
0
141
Member Avatar for tatainti55

Is there any other way to the same thing goto does?(You know what i mean i'm just too lazy too explain it right now >.<) Goto messes everything up >. For example, let's say i made a game that displays a menu, like: "1. Play where is waldo 2.Quit" Then …

Software Development c++
Member Avatar for tatainti55
0
97
Member Avatar for teddybouch

I am resurrecting old code from a few years ago, and I unfortunately have little documentation as to how it was compiled and what environment it was built in. At this point, I have successfully gotten it to build, but there are errors at execution, specifically an unhandled exception error …

Software Development c++
Member Avatar for Salem
0
103

The End.