132,726 Archived Topics
Remove Filter ![]() | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
![]() | 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++ ![]() |
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 | |
[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] | |
: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 | |
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 … | |
hi. API: StartServiceCtrlDispatcher This API use to run services. but i cant use it in vb6. Please help me. Software Development api visual-basic | |
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 | |
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 | |
: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 | |
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 | |
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 | |
![]() | [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 |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 ![]() | |
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++ | |
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. … | |
[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 | |
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 … | |
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 | |
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 | |
[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 | |
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# | |
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++ | |
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 | |
is there a way that i can link JAVA with C#?? or that i can write a C# code in a Java code?? THNX |
The End.