132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for krishna_sicsr

Hi, Below is my output: FF 0 CMA: 0 IPMI port DE 15E0 TTA: 1 Generic Com port DD 15D0 TTB: 2 Generic Com port DC 15C0 SEA: 3 ACPI System Event FF 0 1 MFPCI DB 15B0 DQA: 2 CMD 649 IDE/ATA Controller DA 15A0 EIA: 3 Intel 82557 …

Software Development ide python
Member Avatar for stephendoyle75
0
164
Member Avatar for rameshnerella

i am new to this kind of programming. please help me,. i got an IP address (32bits) & 3 int (32 X 3 = 96bits) totaling for 128bits i.e., 16bytes. my problem here is, how to club them all together to create a 16byte string. please help. thanks in advance

Software Development java
Member Avatar for mruthyunjaya
0
149
Member Avatar for P00dle

Hi, I need to read input from 2 different files, take text from both, combine it, then print it to a third file. That part is easy. What I have a problem with is that some of the text I read in have special characters that need to be escaped. …

Software Development python
Member Avatar for P00dle
0
134
Member Avatar for rino699

The screen clean very fast cant see it move... how can make it looks btr? [CODE] int i,j,k,a; char logo[9][59]; for(a=0;a<59;a++) { logo[0][a]=262; logo[8][a]=262;} for(a=0;a<59;a++) { logo[1][a]=' '; logo[7][a]=' ';} strcpy(logo[2]," @@@@@ @ @@@@ @@@@ @@@@ @@@@ @@@@@ @@@@@ @ @ "); strcpy(logo[3]," @ @ @ @ @ @ @ …

Software Development c++
Member Avatar for Skeen
0
102
Member Avatar for P00dle

Hi I am ery new to Python. I've only started using it yesterday. Please keep that in mind, as the error might seem simple to you, but I can't understand it. I am trying to run the following piece of code: [code] import re foo = open("PREFIX.txt", "r+") text = …

Software Development python xml
0
75
Member Avatar for roshnal

I have made a address book software with vcard ans csv support and a really nice interface. i have found no bugs so far. If i sell this software about how much should i charge? And does anyone know a site where i can get paid for my software?

Software Development java
Member Avatar for javaAddict
0
230
Member Avatar for deven1974

Can anybody help me with a unix script project that I have no clue on starting it, and also I 'm not that much familiar with unix scripting. Don't get me wrong have little bit experience with Linux, but when comes to script I'm just a beginner. If any someone …

Software Development shell-scripting unix
Member Avatar for ithelp
0
96
Member Avatar for Alex_

hello people. I am doing an "os" (small) that's mainly a menu. It just prints some strings and highlights some words when you pres 1,2 or 3. And by pressing enter while a option is selected, it has to do something. The problem is that the program gets stuck in …

Software Development assembly
Member Avatar for Alex_
0
160
Member Avatar for xVent

Hi guys , how can i save some texts from textboxes into a word in a listbox so when i will reopen the program i will continue having the save? Regards, xVent.

Software Development vb.net
Member Avatar for GeekByChoiCe
0
143
Member Avatar for dylank

Hi, there are several threads on this issue, but none seem to give me a good answer. My current code is this (This program plots points on a graph) : [CODE] //Put line equasion into arrays. #include <iostream> using namespace std; double getData(int counter, double m, double b) { int …

Software Development c c# c++
Member Avatar for invisal
0
1K
Member Avatar for jrosh

I did this .. [CODE] String filename = "tempoutfile.txt"; String tablename = "table1"; try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Test","root",""); Statement s=con.createStatement(); ResultSet r=s.executeQuery("SELECT * INTO OUTFILE '"+ filename + "' FROM " + tablename); }catch(SQLException se){System.out.println(se.getMessage());}[/CODE] But I can't find the file that is created!! When I run the query in …

Software Development java
Member Avatar for masijade
0
395
Member Avatar for Noliving

Hello everyone, I'm trying to create a program that will accept a string and output how many characters are in that string. The input can be a mixture of upper/lowercase letters, digits, spaces, and other cases such as .%^& etc. This is my first time use any type of assembly …

Software Development assembly
Member Avatar for wildgoose
0
153
Member Avatar for saikeraku

Hi I'm trying to write some functions. This first function is suppose to help shuffle two strings which are the same length into the correct word. So the output would be something like: After shuffling the first string som and the second string trs the word is storms. Here is …

Software Development python
Member Avatar for katharnakh
0
111
Member Avatar for BenJammin89

This program is suppose to display MPG's (total), and the combined MPG of all the total MPG's you input. [code] // Exercise 4. 12: ex04_12.cpp #include <iostream> using namespace std; int main() { double mpg; double gallons; double combinedMpg = 1; double total; while ( mpg != -1 ) { …

Software Development c++
Member Avatar for BenJammin89
0
129
Member Avatar for qwertymk

this is what I made for a = operator: [code] matrix matrix::operator= (double a[]) { for (int i = 0; i < rows * clms; i++){ //std::cout << i<< "=" <<a[i] << " "; *(x +i) = a[i]; //std::cout << i<< "=" <<x[i] << " "; } return *this; } …

Software Development c++
Member Avatar for qwertymk
0
123
Member Avatar for drabsch

I need to copy text form a text box for example: My text box has temperature="18.5" in it and i want to copy the text 18.5 i already have it selected i just need to copy it or put it into a var

Software Development visual-basic
Member Avatar for drabsch
0
108
Member Avatar for sgw

In the following very simple program, if the input is [I]not [/I]an integer (e.g. a character symbol), then the output screen would flash and go away. Is there a way to have the output "bad" when one enters a non-integer, just as when one enters a negative number? Thanks in …

Software Development c++ flash
Member Avatar for sgw
0
254
Member Avatar for ronyyy

Hello.....I have problem ......i have to transfer a sms from a mobile to another mobile which is connected to a computer.i have to read the sms directly through computer without seeing tne mobile which is connected to computer via USB........then i have send a sms from computer to mobile(which is …

Software Development visual-basic
Member Avatar for AndreRet
0
150
Member Avatar for Brandon515

hey guys, ok here's the situation. i need to turn a C++ style string into an integer now i've used altoi and strtol but they give me different numbers. heres my code [CODE] cout << file << endl << file.c_str() << endl; // debugging purposes num = strtol(file.c_str(), &pEnd, 10); …

Software Development c++
Member Avatar for Brandon515
0
131
Member Avatar for mejohnm

I am making a program for a fruit stand and I like for it to show the names of the products and not the name of the derive class. I think I need a method or rewrite my code somewhere, could someone take a look and give me a hand? …

Software Development apple
Member Avatar for mejohnm
0
106
Member Avatar for Sandar Khin

Hi all, Pls help me .I want to make multile JLabel or JTextField with multiple Link in Marquee.I can do only one.Here is my code [code=java] import java.awt.*; import java.io.IOException; import java.util.*; import javax.swing.*; import java.awt.event.*; public class MovingText extends JFrame implements ActionListener{ JLabel label; JLabel label2; JLabel label3; public …

Software Development java java-swing
0
141
Member Avatar for jacquelinek

I have a list like this: name1: group1 name2: group4 name3: group1 group2 name4: group4 .......... .......... I wish to invert this list, and make it look like: group1: name1 name3... group2: name3 group4: name2, name4 ........... ........... Can somebody offer at least a psuedo code? Thanks

Software Development perl
Member Avatar for k_manimuthu
0
145
Member Avatar for ihatehippies

Here's my problem. I wx application that works great until I close it (leaving the idle editing session open) and then restart it. Then parts of the program see variables that should be things like 'wx.panel' as PyDeadObj .... Once I restart the idle session and re-run the program it …

Software Development python session
Member Avatar for ihatehippies
0
140
Member Avatar for blackst0rm

I am using Visual C++ Express Edition. I have 3 files: (A) main.cpp, (B) prototypes.h (C) implementation.cpp. main.cpp includes prototypes.h and prototypes.h includes implementation.cpp. When I go to "Start without debugging" things screw up because in (C) implementation.cpp the compiler complains that it can't find the data fields. e.g. it's …

Software Development c++
Member Avatar for Ancient Dragon
0
263
Member Avatar for Ryujin89

I am trying to create a program that has a class with a method that accepts a charge account number as an argument. Then the method should determine if the account number is valid by comparing it to the list of accounts in a text file (Accounts.txt). Then method should …

Software Development java
Member Avatar for BestJewSinceJC
0
1K
Member Avatar for bcohenllc

Ive been working on a checkbook application for my visual basic class and I'm a little stumped.. To preface, the values I need to mess with include: transaction type (checking or deposit) DTP check number ("dep" if deposit) payee (who check is for) purpose of check/deposit amount of check/deposit user …

Software Development vb.net visual-basic visual-studio
Member Avatar for kplcjl
0
263
Member Avatar for jsmarts

my assignment is to make a triangel like so: * ** *** **** ***** I have done so but cannot get my command window to stay open. It pops up and closes right back out. heres my code can anyone help? #include <iostream> int drawBar(int); int main() { std::cout << …

Software Development c++
Member Avatar for Shinedevil
0
151
Member Avatar for djnstuff

Okay, what I'm trying to do here is set up a some-what simple battle system for a text based game... I'm having some trouble getting it to work correctly though. I want the Player's attack and the Monster's defense to be random each time the program loops (which is also …

Software Development c++
Member Avatar for Shinedevil
0
323
Member Avatar for restrictment

Hello, I am trying to make an rpg, and I am having troubles with functions. I am currently working on the 'potion' aspect of my rpg, which I have highlighted in red. My question is this: Is it possible to make the function return money, potion number, potion size, etc? …

Software Development c++
Member Avatar for restrictment
0
374
Member Avatar for jetjash

Using VB.NET I am using Combobox, when i select the value in combobox, the date value should display in datetimepicker where date = combobox id vb6 code [CODE]cmd.CommandText = "select distinct Name from T_Person where personid = '" & txtno & "'" Set rs = cmd.Execute While Not rs.EOF If …

Software Development vb.net
Member Avatar for sknake
0
133
Member Avatar for Goalatio

Hey all, I've been trying to get my int 10h to set the color for a STRING, not just a single character. Here's my code, i'm running windows XP and using NASM16 assembler. So, what I want it to do is display something like "Hello world", instead of just.. "a", …

Software Development assembly
Member Avatar for Goalatio
0
296
Member Avatar for avirag

Listview item display: In my application when I am entering string it compares with formtext of each form.If it matches with any of the formText ,it displays the image of panel2 that is on each form .These images appears in listview as a result of matching of two strings(string in …

Software Development display listview
Member Avatar for sknake
0
134
Member Avatar for StarZ

I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two files into a third file, keeping the order from low to high. Then …

Software Development java
Member Avatar for BestJewSinceJC
0
432
Member Avatar for kadji.kahn

I'm trying to make a program that will read two txt files, with GPA information (one for females and one for males) arranged like this: M 4.0 M 3.7 M 2.9 I've been instructed to used pass by reference void functions with no global variables. My major issue is how …

Software Development c++
Member Avatar for kadji.kahn
0
174
Member Avatar for jazz_vill

Hi I need help on how to use LDR and ADC0804 in 8051 microcontroller. So far I have this in my project but I want to replace the switch with LDR (dark activated). What happens here (attached file)is that I use the switch to decrement/increment the number of cars and …

Software Development assembly
Member Avatar for jazz_vill
0
994
Member Avatar for makybe

I have developed two large VB 6 programs and apparently and unintentionally developed one as a Project Group rather than a stand alone Project. As A group I have problems that all releases of the program seem to be altered each time I make a development change, which I dont …

Software Development visual-basic
Member Avatar for makybe
0
1K
Member Avatar for jodie121997

Hi All, I have the application which will be support 32 bits and 64 bits and below are the statement to handle 32bits/64bits data and new_node->data is void * new_node->data for ( index = 0 ; index < items ;index++ ) { if (data_size == SIZE_32 ) { * ( …

Software Development c
Member Avatar for Aia
0
112
Member Avatar for geek_till_itMHZ

I have a Java Program that I need to create that will show five random images selected form my image folder of 50 images. upon clicking a button the program should select 5 new random images. I have most of it figured out except for my ActionListener. Is it possible …

Software Development java java-swing
Member Avatar for Ezzaral
0
163
Member Avatar for skarocks47

So i am just starting out learning C ++ and i was trying to make a BMI calculator. When ever i run the program and it prints the BMI number its a weird number. Not one it should get. Please can u help me out with my source? #include <iostream> …

Software Development c++
Member Avatar for jonsca
0
194
Member Avatar for asxoliastos

Hello I am new to this forum so be patient.. I am currently having an issue with a map iterator well the code i am talking about: [CODE] leafnode<LeafEntry<recno_t> ,blocknum,char*,recno_t>* descend(Object<dimensionality,Type>& ob,nonleafnode<NonLeafEntry<dimensionality,Type>,dimensionality,Type>* rt,blocknum* leafblocknum){ std::map< int,NonLeafEntry<dimensionality,Type>* >* entries; std::map< int,NonLeafEntry<dimensionality,Type>* >::iterator it; leafnode<LeafEntry<recno_t> ,blocknum,char*,recno_t>* L; int i,elements; if(rt == NULL) …

Software Development c++
Member Avatar for asxoliastos
0
134
Member Avatar for pyprog

If I have a file that has a content of this kind: a,b c,d e,f g,h I need to make a list of the letters in the first column, i.e., [a, c, e, g]. I wrote some code which prints these letters but I don't know how to put them …

Software Development file-system python
Member Avatar for snippsat
0
328
Member Avatar for frank_albers123

I am writing a program in python where in the function I input a row in Pascals triangle and the function returns the NEXT row in the triangle. Below is what I have so far and am getting really frustrate...I'm new at this and bad at iterating things. Can you …

Software Development pascal python
Member Avatar for masterofpuppets
0
310
Member Avatar for rkulp

I am trying to overload the Comparison Operators, to have them compare the RMR of two fitness trackers. I need to change the RMR from a double to an int for the comparison. How would I do this when the RMR is calculated by a function. Here is my code. …

Software Development c++
0
115
Member Avatar for jakx12

Ok so what i want to be able to do is connect to a mysql database. Here's my code so far: [CODE] Connection connection = null; try { // Load the JDBC driver String driverName = "postgresql-8.4-701.jdbc4.jar"; // MySQL MM JDBC driver Class.forName(driverName); // Create a connection to the database …

Software Development java mysql postgresql
Member Avatar for masijade
0
529
Member Avatar for FengG

Python beginner try to learn pygame. Here is a program I made for random color circles popping out. [CODE]import pygame, random pygame.init() X = 680 Y = 460 def main(): screen = pygame.display.set_mode((X,Y)) pygame.display.set_caption('circles') background = pygame.Surface(screen.get_size()) background = background.convert() background.fill(pygame.color.Color('white')) run = True clock = pygame.time.Clock() while run: clock.tick(30) …

Software Development python
Member Avatar for FengG
0
140
Member Avatar for AdRock

I have a string which i can break down into tokens but what i want it to do is if it reaches a '//' it breaks out of the loop so no more tokens are added I have tried using this but it doesn't work [CODE]while (p!=NULL) { if(p=="//") { …

Software Development c++
Member Avatar for AdRock
0
177
Member Avatar for xfreebornx

How can i sort this array pls.. [CODE]#include<iostream> #include<algorithm> using namespace std; int prompt(int x[]); void printreverse(int x[]); int main() { int x[5]; prompt(x); printreverse(x); system("pause"); return 0; } int prompt(int x[]) { for(int i=0;i<5;i++) { cout <<"Enter integers:"; cin >>x[i]; } } void printreverse(int x[]) { for(int i=0;i<5;i++) { …

Software Development algorithm c++
Member Avatar for mrnutty
0
115
Member Avatar for teddyg18

So i am writing a simple prgm in which you enter the values of 2 matrices and multiplies them. [code] #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { int i, j , k , l, m , n , o, p; cout<<"Enter The Rows And Cloumns And Of The …

Software Development c c# c++ matrix-multiplication
Member Avatar for asxoliastos
0
126
Member Avatar for RonW56

Can someone help me with this problem I've been trying to do an else statement but it doesn't work here is the code.... for(int c=0;c<student_max;c++){ if(search_id==id[c]){ location=binary_search(id,student_max,search_id); cout<<"Student ID \tTotal \tGrade"<<endl; cout<<"-----------------------------"<<endl; cout<<search_id<<" \t\t"<<total[location]<<" \t"<<determine_grade(total[location])<<endl; //break; } //} else{ cout<<"Incorrect id entered"<<endl; break; } } }

Software Development c++
Member Avatar for boblied
0
119
Member Avatar for sneek

Hi, I have a problem because I did not realy get yet when do Py_INCREF or to Py_DECREF. I build a class type that covers a PyObject*-Array. Now I wrote a function like that: [CODE] static PyObject * get_first(MyObject *self) { PyObject *res = NULL; if (!self->size) return NULL; res …

Software Development python
Member Avatar for sneek
0
948

The End.