132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aholliker

[LIST=1] [*]I need to write a program in c that prompts the user to enter the scores for four quizzes each worth a maximum of 100 points. Your program should compute the average score and display this average together with a letter grade based on the following scale:[/LIST]90 - 100 …

Software Development c
Member Avatar for ShawnCplus
0
105
Member Avatar for asmith3006

Hi. Is it possible to add new rows and columns to the table layout panel at runtime? I want to create a table of text boxes, but I don't know how many rows or columns will be needed. Also, is it possible to add rows and/or columns at the click …

Software Development
0
84
Member Avatar for frogeye

Hi all I am working on a bank reconciliation program and have a problem with data entry. For a readln (real) statement, if a character is entered, it crashes the program. Is there a way to test the input data to keep it from crashing the program? Also is there …

Software Development pascal
Member Avatar for frogeye
0
88
Member Avatar for lconvoy

Is there any way to view or access javascript portions of a web page from the linux shell? For example, I use curl to pull a web page that has text and javascript. The javascript portion does not show up, just the filename as it is in the source.

Software Development java javascript shell-scripting
Member Avatar for jim mcnamara
0
94
Member Avatar for nihao

Hello all: I want to compare two folders by script like this "diff -yr folder1 folder2",but I find there are two problems in the result which is not what I want,please help me. Problem One: If there are two line is different,and every line is too long, the result will …

Software Development shell-scripting
Member Avatar for jim mcnamara
0
179
Member Avatar for joshilay

can anyone explain me why the values are not swapped in the below code ?? main() { int *i,*j; *i=4000; *j=9000; f(i,j); printf(" %d %d",*i,*j); //output =4000 9000 } void f( int *a, int *b) { int *temp; temp=a; a=b; b=temp; }

Software Development c
Member Avatar for Salem
0
278
Member Avatar for freesoft_2000

Hi everyone, I seem to have in problem in adding columns and deleting colums in the JTable. When my program initializes there are five columns and six rows. I can append as many rows as i want and the column headers i have left to default which is (A, B, …

Software Development java
Member Avatar for freesoft_2000
0
1K
Member Avatar for Fede

Hi, does anyone knows how to write a simple telnet client aplication in VB .NET Visual Studio 2005 ? I've looked and downloaded a lot of stuff but still don't find anything that really works. All I need is to connect from my App. to Unix via telnet and run …

Software Development client-server unix vb.net visual-studio
Member Avatar for thandermax
0
705
Member Avatar for Bernard Kane

I have been used to using Access where sub forms can be simply dragged into a main form. Can I do this in VB 2005 Express Edition or does it have to be entirely coded? If it is possible then could anyone help me see my way through? Many thanks …

Software Development vb.net
Member Avatar for Bernard Kane
0
93
Member Avatar for Tlhokomelo

Thank you for reading my thread,I am new to C and I have a big problem -Naturally.I cant seem to compile thise code: [code] # define EOF =-1 main() { int c,nl; // integers nl = 0; // assignment int ln to 0 value while ((c = getchar() !=EOF) // …

Software Development c
Member Avatar for Salem
0
103
Member Avatar for aruma

hi , today i got an error with : Exception in thread "main" java.lang.NoClassDefFoundError : Loop i have gone thru so many links which i found in google but i am unable to solve that problem iam using both eclipse and command prompt. in both i got the same problem …

Software Development google java
Member Avatar for aruma
0
123
Member Avatar for NewVBguy

Hi There, Can anybody help me with the following: 1. I am trying to open an excel file using adodb connection but i got a run time error on the rs. open. Here is my code Dim cnn As New ADODB.Connection, rs As New ADODB.Recordset cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\XLS.XLS;Extended Properties=Excel 8.0;" …

Software Development open-source visual-basic
Member Avatar for maheshsayani
0
177
Member Avatar for iamthwee

This is really ticking me off. Ok I have a program like so:- [CODE] #include <iostream> #include <string> using namespace std; int main() { string crap = "dfgfd-rergreg-dfgfdg-ertertd-gfdg-df"; }[/CODE] And all I wanna do is replace the [INLINECODE]"-"[/INLINECODE] with [INLINECODE]" - "[/INLINECODE]. Note the spaces. I've tried everything but it …

Software Development c++
Member Avatar for iamthwee
0
201
Member Avatar for Bellaa

Hi all, I will be developing a C compiler :mrgreen: that will support Object Oriented Techniques, Database Connectivity and Simple Networking programming using VB.Net language. I really wish you guys could give comments/opinions on my compiler by downloading the doc attached and send it back to me....:D

Software Development vb.net
Member Avatar for Bellaa
0
163
Member Avatar for Marthy

[I] What is the Importance and uses of data stuctures in Programming using C/C++ when using it? .How Stack,Queue,and list works and give example problem that solve stacks (note:this is not a code program).t.y..i want your different opinions...pls...reply this tread.. [/I]

Software Development c++ queue
Member Avatar for Laiq Ahmed
0
90
Member Avatar for msaenz

:cheesy: hi all, i do not know how many people have worked in biopython before but, i am soo close to this answer i can feel it! just need a lil help again... basically this takes a FASTA file from NCBI and makes it into a dictionary which is wonderful …

Software Development python
Member Avatar for vegaseat
0
131
Member Avatar for Derickd

42 00 02 E3 0B 06 1E CD 78 C1 47 B5 A5 00 8E 69 E2 32 67 00 00 00 75 85 00 00 00 00 00 00 00 00 00 00 64 65 72 69 63 6B 00 41 72 65 73 20 31 2E 39 2E …

Software Development image pascal
Member Avatar for Derickd
0
268
Member Avatar for Payman

hi. API: StartServiceCtrlDispatcher This API use to run services. but i cant use it in vb6. Please help me.

Software Development api visual-basic
Member Avatar for Payman
0
315
Member Avatar for Tyreses

Ok, i've been tyring to get this to work for days, and I got it down to this, but it still all doesnt work. Any advice as to what I may be doing wrong would be greatly appreciated. [Code] Function Listen(ByVal backlog As Integer) lsocket.Listen(backlog) If Not lsocket.Connected Then Console.WriteLine("Winsock …

Software Development vb.net
Member Avatar for Lord Soth
0
112
Member Avatar for tefflox

Hello, this is my first post here. I'm taking c++ as an elective course, and I'm doing great until now. The problem I'm having is taking data from a txt file formatted line by line [inlinecode]#### # ##[/inlinecode] for product id, store number, and quantity. I'm supposed to read this …

Software Development c++ file-system first-post
Member Avatar for tefflox
0
230
Member Avatar for msaenz

:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey …

Software Development file-system python
Member Avatar for Ene Uran
0
119
Member Avatar for viermus

Hi, everyone! I am trying to program (in assembler) a hardware interrupt at vector 72h, to beep twice. The program seems to be running, and it looks like it is returning control to DOS. I can run it as many times as I want, the only problem is when I …

Software Development assembly
Member Avatar for thandermax
0
136
Member Avatar for comwizz

hi , I just was trying to implement a stack using doubly linked list . Well , i cannot exactly find out the error. Any hint would be of great help. Heres the code [code] #include<iostream.h> #include<conio.h> class abc { public: int num; abc* next; abc* previous; friend void push(abc*,int); …

Software Development c++ linked-list
Member Avatar for Lerner
0
4K
Member Avatar for iamthwee

[B]skinnable apps[/B] How do you create kewl skinnable apps in java. Like say, windows media player or winamp? Please provide a weblink if possible, I'm really stuck here.

Software Development java
Member Avatar for jwenting
0
95
Member Avatar for dilip.mathews

Hi all, What is the effficient way to check whether a single linked list is looped somewhere.The number of nodes in the list is not known. In that case traversal of SLL will go into an infinite loop. One solution I have is to store each address of node in …

Software Development c linked-list
Member Avatar for dilip.mathews
0
95
Member Avatar for php4ever

Looking for a good activeX or .NET control for a VB project in which I would like something better then the standard looking VB Tabbed control. It would be nice to see something turnkey. Any suggestions? ~ Jared

Software Development vb.net
Member Avatar for php4ever
0
94
Member Avatar for blewis999

I saw the code snippet by vicki_dev for drawing a function using turbo C on windows and wondered if there was anything like this or even this code with the calls to the OS inline. I don't have an OS on the embedded systems I work on and need a …

Software Development c++ os-x
Member Avatar for Salem
0
107
Member Avatar for ethompson

Hello, I'm having some problems with trying to get my random numbers to go in ascending order and descending order as well and trying to figure out how to get when I put in a number between 2 - 25 how to get the highest number out of the random …

Software Development c++
Member Avatar for ~s.o.s~
0
2K
Member Avatar for cozofdeath

Ok, I've been trying different tutorials/methods of learning asm and right now I'm reading Dr. Paul Carters tutorial and using NASM and DJGPP to compile. I just got into the conditional/jump section and I wanted to test how the jumps work and ran into a problem. The read_char macro seems …

Software Development assembly
Member Avatar for cozofdeath
0
138
Member Avatar for bkaau

For all programmers please help me I have only for day to submit my final project so please pleas help me. Before i goto my problem. i can introduce my selif. i am biruk i live in Ethiopia (Addis Ababa). i am 20 years old . i study Statistics in …

Software Development c++ email
Member Avatar for WolfPack
0
232
Member Avatar for gampalu

Hi! How in C++ can we make a pause in the code, waiting for an ENTER? regards

Software Development c++
Member Avatar for Dave Sinkula
0
117
Member Avatar for drbouncy

Can anyone help? I have uploaded a formmail.cgi permission are set to 755 All appears to be working fine, even gives confirmation mail is sent. Never arrives though! Any ideas? I am gutted, I've spent days trying to sort it and no luck. I am trying to do some research …

Software Development perl
Member Avatar for YUPAPA
0
207
Member Avatar for girish_sahani

hi ppl, Consider a list like ['a.1','b.3','b.4','c.2']. Here 'a','b','c' are objects and 1,3,4,2 are their instance ids and they are unique e.g. a.1 and b.1 cannot exist together. From this list i want to generate multiple lists such that each list must have one and only one instance of every …

Software Development python
Member Avatar for vegaseat
0
84
Member Avatar for Sealteam56

[COLOR=#555555][COLOR=#000000]Hello all,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I had posted earlier for help, but the post was so deep in an older thread do not think anyone will find it.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]so here goes,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I am in a class to learn C and was tasked with writing a program that …

Software Development c first-post
Member Avatar for Sealteam56
0
129
Member Avatar for acezrwild817

VS 2005 does not include the crc32 checksum in their crypto library and I was wondering if anyone knows where I could find a very fast algorithm. I currently have three different algorithms but none of them are much faster than Md5. I know for a fact that the crc32 …

Software Development algorithm
Member Avatar for acezrwild817
0
99
Member Avatar for kraze_101

i have an assignment at school where we have to get a string entered by a user and then the program is supposed to encrypt it by adding 13 to A-M and -13 from M-Z so that if i inputted A B C i would get N O P. Basically …

Software Development c
Member Avatar for ~s.o.s~
0
195
Member Avatar for LBasa

Hi guys, I'm currently taking a summer online intro to Java class (using Jcreator) and its kicking my butt! I might have to re-take it next semester to get a better understanding of how it works. I've been working on the same problem for the last 10 hours and I …

Software Development java
Member Avatar for LBasa
0
207
Member Avatar for aeinstein

Hi All, I've converted the [URL="http://www.daniweb.com/techtalkforums/thread49412.html"]pseudocode from this thread[/URL] into a flowchart, and I'd greatly appreciate if anyone can point out any errors and/or inefficiences in the represented coding. as posted in the above referenced thread, the flowchart represents a solution for a chapter exercise, as follows: "The problem states …

Software Development c
Member Avatar for iamthwee
0
363
Member Avatar for ostkaka

I´m trying to put in a variable called "sex" in this program but it does´nt work, i wonder if anyone can help me with that? [code] #include <iostream> using namespace std; int main() //viktigaste delen av programmet { int age; //En variabel som heter age; int sex; cout<<"please input your …

Software Development c++
Member Avatar for Dave Sinkula
0
105
Member Avatar for tripz

I'm a moderator on a forum. On this forum all moderators get a tool to help with making up requests to the forum admins on bad user posts and threads. The creator of the tool has left his position on the forum to move on and is no longer helping. …

Software Development delphi pascal
Member Avatar for tripz
0
122
Member Avatar for -jOHn BeneDict-

[code]#include<stdio.h> #include<conio.h> main() { float x,y,z; clrscr(); printf("\nThis program calculate if you are Underweight,Healthy or Overweight"); printf("\n\n Enter your weight in kilograms:"); scanf("%f",&x); printf("\n\n Enter your weight in meters:"); scanf("%f",&y); z=((y*y)/x); if(z<20){ printf(" the Quetelet-index is: %f",z); printf("\n\n\tUnderweight"); } else{ printf("\n the quetelet-index is : %f",z); printf("\n\n\tOverweight"); } getch(); return …

Software Development c
Member Avatar for Zababa
0
135
Member Avatar for chillharsh

as the title suggest i like to swap two numbers but the thing is that i should not use 3rd variable that is doing the whole stuff only with 2 variables so plz any body help me out

Software Development c
Member Avatar for sukhi
0
480
Member Avatar for Laiq Ahmed

I've gone through several books they explain Upcasting as Base class pointer pointing to Drived class Object this definition is correct. Downcasting: [quote]Drived class pointer pointing to base class object..[/quote] i got a bit confused.....not having crystal clear image in my mind..... if the above definition is correct... whats wrong …

Software Development c image
Member Avatar for Dave Sinkula
0
182
Member Avatar for joydeep1

My C program for making a database which stores data and from which data can be retrieved is stated later.But I am not able to write the function for editing the stored items correctly.Please suggest a method.Also suggest :[B]1.mode in which file is to be opened in case 2 of …

Software Development c
Member Avatar for ~s.o.s~
0
110
Member Avatar for asmith3006

Hi, not sure if the title is correct but I think that's what I mean. I have the following code: [code]//Box the shape is contained in protected Rectangle container; /// <summary> /// Gets or sets the value for position /// </summary> public Point Position { get { return container.Location; } …

Software Development
Member Avatar for Lord Soth
0
198
Member Avatar for Gowrishankar

[COLOR=#0000ff]Hi all,anyone can help me to solve this error.When I build the code it shows the error message below:What I have to do ? C:\Inetpub\wwwroot\shankar\WebApplication1\login.aspx.cs(83): 'WebApplication1.WebForm1.Custvaluserid_ServerValidate(object, System.Web.UI.WebControls.ServerValidateEventArgs)': not all code paths return a value This is the code I written: [code] private[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]bool[/COLOR][COLOR=#000000] Custvaluserid_ServerValidate([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] source, System.Web.UI.WebControls.ServerValidateEventArgs args)[/COLOR] { SqlConnection conn= …

Software Development open-source web-server
Member Avatar for Lord Soth
0
132
Member Avatar for laki

hi i want to reverse the LL useing recurtion in C#, i am able to print it in reverse order but unable to store it as LL in reverse order, below is the code for it ::) [CODE] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] linearLL[/COLOR] { [COLOR=#0000ff]class[/COLOR] [COLOR=#008080]LinkList [/COLOR]{ …

Software Development c#
Member Avatar for Lord Soth
0
297
Member Avatar for TJW

Why is the last element not 7 [Code] int array[3]; int *ary; ary=array; array[0]=0; array[1]=0; array[2]=0; array[3]=44; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; *(ary+0)=1; *(ary+1)=0; *(ary+2)=0; *(ary+3)=7; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; [/CODE] Output 00044 1003<-----------------Why 3 and not 7!!!!!!

Software Development c++
Member Avatar for Dave Sinkula
0
194
Member Avatar for Shefali

Hello all I need to solve a equation using excel solver from visual basic 6. i did it manually in excel and recorded tha macro. however when i trid to automate excel using vb, an error message is displayed. it highlights the solverok function and says function not valid. can …

Software Development visual-basic
Member Avatar for Shefali
0
252
Member Avatar for it-1

is there a way that i can link JAVA with C#?? or that i can write a C# code in a Java code?? THNX

Software Development c# java
Member Avatar for Lord Soth
0
335

The End.