132,726 Archived Topics
Remove Filter ![]() | |
I'm trying to make a linked list, what's wrong with my syntax for adding a node? [code=c] struct data { char name[20]; char number[10]; }; typedef struct node { struct data list; struct node* next; } Node; Node *head = 0; Node *tail = 0; Node *New = 0; void … Software Development c linked-list | |
Hey guys :) After a year of c++, teacher's announced we'll be learning C standard as well, starting with next semester. So anyway, I've been looking through some examples and exercises in a book and found 2 problems I can't seem to solve. (At least not in C). The first … Software Development c | |
Hello guys, I'm new here, and this is my first post in this forums. Please bear with me if I can't explain what I'm in need of well. Basically, this is part of my assignment, and I'm supposed to find a path from one end to the other in a … Software Development c++ | |
Is there any clause in applet that counts down the remaining time given? Software Development java | |
Is it possible to display in image in a listView box? I'm working on a link checker all the links on a webpage are put in a listView box. Right now I just have the words "Good" and "Bad" by each link and would like to put an image next … Software Development image listview visual-studio | |
I hav created an applet window.. now i want to disable d maximise button.. can u plz say me how can i do dat..?? Software Development java | |
Hi all, i'm looking into doing a little bit of work with the mouse in console applications on windows. I'm using windows.h to get access to functions such as ReadConsoleInput. I've created a simple program that just prints a string whenever the left most mouse button is clicked. However sometimes … Software Development c++ | |
Hello! I want to go through a string char by char and i've heard a byte ptr is the way to do this, but i'm having problems with using it. I tried with the code below, but i get an error saying: "comma or end of line expected" at the … Software Development assembly | |
hi, i need to read a file and to store contents in buffer. to read the first 8 bytes and to move the pointer to read the strings in that file. could any one help me? Software Development c++ | |
Hi I have exam after 12 hours, please help me to writing those programs…… And thank you 1. Write a c++ program to output the histogram of a sequence of 10 positive integers. this program first asks the user to enter 10 integers. then write the histogram of this sequence … | |
I have an Array A[N]={1,2,3,4,5,6}; and I want to split it to 2 arrays of size N/2 such that B = 1, 2, 3 and C = 4, 5, 6 here is my program but there is something wrong with array C Can you help me with it ? [CODE]#include … Software Development c++ | |
hey peeps..i got a problem in this project and will be grateful if someone can help pls..thx Software Development java | |
Hello, i have this code who ive been using whitout any problems. and then suddenly at says acces violation at address 004b84 in module "SecurityScreensaver.exe" when i trie to save a tstringlist to a file. this is how the code looks procedure TForm7.Button8Click(Sender: TObject); var s : tstringlist; begin savedialog1.Title … Software Development pascal | |
So I've spent the past 2 hours trying to work all of this out, but I am still getting an error message that seems out of place. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class HiLo extends JApplet { Image cardImages; /** * An image that holds the … Software Development java java-swing | |
Hi all. I have a very simple app, but I don't know how to get position of the circles. Here's the code: [CODE] from Tkinter import * master = Tk() global w def dotToDot1(event): global w circles = 0 x = event.x y = event.y c1 = w.create_oval(x, y, x+10, … | |
How do I code a C++ program that used an array to find an average of positive numbers. Then outputs the result Software Development c++ | |
hi, ihave this code in c# for crating cookies : if (saveInCokies_CheckBox.Checked) { HttpCookie myCookie = new HttpCookie("AtterehWebCookies"); myCookie["userName"] = userName_TextBox.Text.Trim(); myCookie["password"] = password_TextBox.Text.Trim(); if(employee_RadioButton.Checked) myCookie["loginType"] = "employee"; else if(lawyer_RadioButton.Checked) myCookie["loginType"] = "lawyer"; else if(customer_RadioButton.Checked) myCookie["loginType"] = "customer"; Response.Cookies.Clear(); Response.Cookies.Add(myCookie); Response.Cookies["AtterehWebCookies"].Expires = DateTime.Now.AddDays(30); } after that i want to read … | |
Hello all, I am working on an assignment and with help I have managed to complete the following: [CODE]using System; using System.Collections.Generic; using System.Text; namespace StudentGradeDistributions { class Program { private static string asterics(double grade) { return new string(' ', (int)grade / 2) + "*" + new string(' ', 50 … Software Development | |
I'm trying to get the game below to work with 2 players. It's setup the way I need it (even the entering the numbers for the die instead of using a rand function and not allowing the bet amount to change(crazy teacher)) I just can't figure out how to make … Software Development c++ | |
Hello everyone. I've read several articles on the internet in trying to figure this out; however, those article seem a bit over my head apparently and I can't seem to find a code example that is simple and to the point to implement. I'm coding a password manager program in … Software Development encryption file-system listview vb.net | |
Hi I am writing a function in C++ extern "C" { __declspec(dllexport) void CreateInputFilter() { ITestPtr pTest = createInstance<ITest>(m_Test); } } But I am getting this error m_Test' : undeclared identifier The main thing is above this function I have written the same code above in another function but there … Software Development c++ | |
I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE … | |
hi to all again, I want to know how to disable the Maximize option of a window using a VB code. I believe one way to have a fixed window size is to disable the Maximize option?? Can anyone here please help..... Thanks a lot again in advance. Have a … Software Development visual-basic | |
I want to add checkbox for each record in datagrid on windows form with c# vs 2003. Please any help can solve my problem. Howdo do this. Software Development c# | |
Hi there, I am currently having trouble with one thing. I am working on application which should work like this: When I open it the login_form shows up, I insert login information and then it opens the main_form and gives it the login information and disappears. The problem here is … Software Development | |
EDIT for moderators: Yes that "one might think that swapbuffer is slow" was me. Heh. :D Could someone change the topicname to "Optimizing OpenGL"? Thanks. Hey guys, I'm trying to optimize this OpenGL program, so the problem isn't C, but the program is. The program loads a vanilla WaveFront .obj … | |
I am new to the fascinating world of C++, I should of stuck with Spanish.. But I have an assignment due and I am so close I can taste it. I am having an issue with my global functions. I can not get my average function nor my maxGrade function … Software Development c++ | |
Hello, I've been working with threading these days. I want to put a progress bar which is in a separate form but in the same namespace. My form1 class has all the controls for my drag and drop functionality while in my form2 class will be my progress form in … Software Development | |
Hi can any one plz send me the java code for sending sms through some gateway plz reply this asap..or else plz assist me how to proceed.. Thanks, Srinivas Software Development java | |
Hi I have build one dll project . I want to use that dll in another project. But when I include the header file of the project I am getting an error Error 2 fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH" Am I missing … Software Development c++ | |
I am working on an MFC application which has a chat module in which i want to implement File Transfer/Upload to server using HTTP Post Method . Please help me Thanks Dhiraj Software Development c++ | |
Hi, Are there any software that I can get back from VB executable file to VB source code? Please help me. Software Development visual-basic | |
Hi friends , :( I've made a programme that can read a file and if it finds a peticular string in the file it shows the whole line. I've used "stringstream" to extractone by one and I checked that by the If loop on true condition it prints the whole … Software Development c++ file-system | |
Hi all, I am working with a project which includes Crystal Reports in Vb.Net and SQL Server2000 as Back end. The code in button click is [code] str5 = "D:\AttendanceReport.rpt" If Not IO.File.Exists(str5) Then Throw (New Exception("Unable to locate report file:" & vbCrLf & str5)) End If str6 = "SELECT … | |
Okay, I have to store an adjacency matrix for a graph problem I'm doing. Let's use this picture to explain it right now. [url=http://i21.photobucket.com/albums/b272/DemonGal711/Program%20Pic/pic.jpg]Click here[/url] I figured, I'm use a linked list to store it where each node uses the struct [code]struct Node { char item; Node* vertex; Node* next; … Software Development c++ linked-list | |
I'm coding for fun and I can't figure out how to compare two string in an if (string1 < string2) type statement. I figured if I could somehow get values for those strings it would be easy to do the if statement. All help is highly appreciated : ) Software Development java | |
I have writtern some code but apparently i have not initalised two parts of it, now to my knowledgde i have and i can not see why it is showing warnings for it. i hope you can help. [CODE=cplusplus] double m, l, dm, dc, xsq, D; W_line_Sum(line ,t); W_line sums; … Software Development c++ | |
Hello, I have a program that's 95% written. I am getting weird results though, so I will need you to fix it and EXPLAIN why that worked. This should take an experienced programmer less then 30 minutes. I would post it on here, but it's over a thousand lines of … Software Development c++ | |
Hi All, Can anyone tell me about a library that helps me to read contents from /etc/resolv.conf file and also update the same file with new entries. Does this possible with Resolver library routines? Any useful links or sample programs regarding this? Thanks in advance. Renjith Software Development c | |
I have had to miss my last classes due to having to go to my doctor in order to prep me for surgery. My professor has placed the final assignment online and i have no where to begin. I'll take any help and would like to add that while i … Software Development java java-swing | |
I have the following code that produces an applet of two eyeballs. I have a mouseMotionListener that is set so that when the mouse is moved around the pair of eyes, the eyeballs follow the pointer. I have the eyeballs set up in four locations. To the left, right, north, … Software Development java java-swing | |
hi I am creating an CSV file in java by putting the Korean values in a properties file like "\uc81c\ubaa9 \uc18c\uc2a4\uc5d0\uc11c \uc5b8\uc5b4" [B]which is properly coming in the CSV file (like "번호 출판물의") when I open it in the notepad and select the font as Arial Unicode MS[/B], but when … Software Development file-system java | |
[CODE]void StrCpy(char * Dest , char* Src ) { while(*Src){ *Dest = *Src++; cout << *Dest ++; } } void main() { char* string1 = "\0"; char * string2 = "EL"; StrCpy(string1, string2); //cout << string1; //must output EL } [/CODE] Im trying to output EL after its copied to … Software Development c++ | |
Greetings! I just downloaded Python 2.6 from Python.org . It came with IDLE Gui. Poking around the internet, I see a bunch of other pthon related names like: IDLE, wxPython, Tkinter, Widget toolkit, PyGTK, PyQT, Tk GUI . I am not really sure what all I have, and what else … | |
I created the first method, which gets and displays all the links in a web page in a listView when a button is pressed. I found the second method on a site that supposedly checks to see if a link is valid. I need help on incorporating it into my … Software Development listview | |
I want to writer a program in which i input an array? let the array i entered is : 4 1 2 3 The prigram can take values and find the positions of the character in the array such that the smallest on 0 position and so on. The result … Software Development c++ | |
Hi. This is NOT a homework assignment (self-interest only). The exercise asks me to write a function which accepts two strings and returns a pointer to the longer of the two. [code language="C"] #include <stdio.h> #include <stdlib.h> char* longer( char str1[], char str2[] ); char* str_ptr; int main( void ) … Software Development c | |
Hi, In this piece of code in my program I am receiving the following error request for member âyâ in something not a structure or union. [code=c]struct intpair { int x ; int y ; } ; struct intpair makeintpair(int x, int y) { struct intpair temp ; temp.x = … Software Development c data-structure | |
Hello all. I am teaching myself C# and I have been fairly dedicated to solving my own problems. However, for some reason I am just stumped. I have a main form that manages alot of data. To insert data into the form you push a button to bring up a … Software Development |
The End.