132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arvin2006

hello there everyone!! is there anyone who can help me to start creating an operating system. i don't have any idea on to start. i understand c language, but i dont have enough knowledge for such process. all i need is the simple concept or the simple/basic code for creating …

Software Development c operating-system
Member Avatar for maddy10988
1
256
Member Avatar for nuB

i know it is a lot to read..... and i have different variables to compare win - the gameboard play itself and an undeclared plr, i did that because i'm not sure what and how it should be used there (so i expected those errors), b4 i added in the …

Software Development c++
Member Avatar for nuB
1
391
Member Avatar for WASDted

I wonder if anyone has used MonoDevelop and what your thoughts are. I am not a developer but I have tinkered with Visual Studio .NET and I must say it is powerful but it has its flaws. I just heard that MonoDevelop is an alternative IDE designed for C# and …

Software Development ide visual-studio
Member Avatar for JasonHippy
1
198
Member Avatar for aircooled

Thought I'd share my code for populating the AutoCompleteCustomSource in a textbox with data from an Access table or other ODBC datasource. This works, though perhaps others have found a more elegant way. In this example, I am adding a list of city names. - Jeff Dim sStringColl As New …

Software Development vb.net
Member Avatar for usman6062
1
1K
Member Avatar for TrustyTony

Here tool functions, which came up during discussions earlier. Expanded slightly, added elimination of traceback prints by try..except. Added dd.mm.yy routine as that is format in my home country Finland. Optimized docstring beginnings to be informative in editor tooltip (at least IDLE shows, but code must be run or imported …

Software Development python
Member Avatar for TrustyTony
1
976
Member Avatar for tquiva

I need to create my own function to compute the cos of an angle (given in radians) using the Taylor series. The task is to create a function in which a float value is passed to it, and a double gets returned. My program compiled, but I am getting wrong …

Software Development c
Member Avatar for jephthah
1
305
Member Avatar for ttboy04

I want to make an object move to a new height from the user request. My code below does not do that. Where am I going wrong. thanks in advance. /* instance variables */ private Aobject object; public void moveObject () { int number; { number = Integer.parseInt(Dialog.request("Enter new height?")); …

Software Development java
Member Avatar for ttboy04
1
96
Member Avatar for smackdown164

Im have trouble complete on what i have. Looking for some idea's I'm getting a exit error and don't know what to do? Please Help [CODE]// This is a program that is an ATM. #include <iostream> #include <cstdlib> #include <iomanip> using namespace std; void welcome(); void menu(); void amountDeposit (); …

Software Development c++
Member Avatar for Nick Evan
1
182
Member Avatar for onlinessp

hi, I want c# source code for process killer as task manger -> it forcefully kill the process which i want <->it may be system process

Software Development
Member Avatar for privatevoid
1
172
Member Avatar for ku95

currently writing a program, and for some reason I'm getting these two errors which are really bugging me. I've tried adding the brackets and changing the statement and still no luck. If there is a possible solution that would be grateful. [B]Please note that I have solved the bracket error, …

Software Development java
Member Avatar for Dukane
1
151
Member Avatar for raseru

There's mountains of guides for learning C++ and they all cover from hello world to pointers, but I never see any of them make a peep about making an actual window. They all stay in consoles and that's that. Why is this? Do most people never mess with API and …

Software Development api c++
Member Avatar for Frederick2
1
970
Member Avatar for jeanfrg

Hi I have an assignment to do where I have to make a race between two cars (this assignment is a continuation of a previos 'mini' assignment where I had to do the 'race' with one car). The commands that I implemented for the cars is foward (increases distance travelled), …

Software Development java open-source
Member Avatar for jeanfrg
1
2K
Member Avatar for tquiva

Can someone please help me with this program? My goal is to create a test driver for the function put_result(). The program compiles and works as intended. However, I came across a bug that I am having an extremely difficult time trying to fix. I tested for several inputs and …

Software Development c
Member Avatar for tquiva
1
227
Member Avatar for saquibaltaf

Hi, i am using VB6 and in my project using List View Control. The checkboxes property is setted true. Now i want to implement a functionality so that to remove only those entries/items cheked by user from the list. Can anybody tell me how to implement this. ANY CODE

Software Development listview visual-basic
Member Avatar for kvprajapati
1
2K
Member Avatar for TrustyTony

Also demonstrate changing the text of the widgets label dynamically.

Software Development gui python tkinter
Member Avatar for TrustyTony
1
12K
Member Avatar for emaduddeen

Hi Everyone, Can you tell me how do I set up create Insert, Update and Delete commands for your a DataAdapter? I'm using a DataGridView to allow the user to view, change and delete data rows and would like to be able to save any changes made in the grid …

Software Development dataset open-source vb.net visual-studio
Member Avatar for emaduddeen
1
1K
Member Avatar for eggberto

I've just read a few books on C++ and learned a lot about the language, but the books never mentioned how to add sound and visuals to my programs. I "think" that stuff is all stored in libraries, but... what tutorial should I read next to learn how to implement …

Software Development c++
Member Avatar for WaltP
1
314
Member Avatar for bubunchan

i'm doing java exercise, their is 6 question and i had done 5. another 1 i tried all the alternative but still error. this code: [CODE] class __(1)__ { static ___(2)___ int MIDTEST = 30; public static void main(String [ ] args) { int a=15, b=10, quiz, ___(3)___; Course ____(4)___ …

Software Development java
Member Avatar for bubunchan
1
122
Member Avatar for Acadian

[code=c#]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace GermanFlash { class Program { static void Main(string[] args) { string[,] flashes = new string[,] { { "Der Himmel", "Die Sonne", "Das Wetter", "Der Freund", "Die Freundin", "Das Auslandsamt", "Das Buch", "Die Karte", "Die Mensa", "Die Vorlesung", "Beginnen", "Gehen", …

Software Development
Member Avatar for apegram
1
167
Member Avatar for onlinessp

hI please Help Me i need a code in c# which can list all the drives and also give there files with adress [COLOR="Red"]example: c:\tc\bin\tc.exe[/COLOR]

Software Development
Member Avatar for kvprajapati
1
92
Member Avatar for Noliving

When eval an equation does it follow the PEMDAS rules? For example: 2.0-1.0-3.0*6.0+5.0*4.0 when evaluated equals 3.0 when evaluated by python. To me that doesn't seem correct, I get a much larger number than 3.0 When I evaluate in python eval("6/2*3") it should equal 1 but in python it equals …

Software Development python
Member Avatar for Tech B
1
211
Member Avatar for ddanbe

Drawing on a Form does not always happen when you want it. The Refresh() method of a control comes in handy here. See the following snippet and experiment by commenting out the Refresh. Start a new WindowsForm project. From the toolbox, add a Label, ProgressBar and Button control on the …

Software Development
Member Avatar for g2gayan
1
3K
Member Avatar for DaveTran

[CODE] for (int i = 0; i < 10; ++i) { i > 5 ? MethodA(i) : MethodB(i); } [/CODE] When trying to do the above I get this error [I]Type of conditional expression cannot be determined because there is no implicit conversion between 'void' and 'void' [/I] Does this …

Software Development
Member Avatar for DaveTran
1
1K
Member Avatar for liliafan

Does anyone know of a good way to sort an stl map? I have something like the following example: [code] #include <iostream> #include <map> #include <algorithm> int main() { map<int, float> map_to_sort; // Populate the map with between 20 - 2000 elements map_to_sort.sort(); } [/code] Obviously I am aware that …

Software Development algorithm c++
Member Avatar for Narue
1
317
Member Avatar for rockybtechit

hi...friends i am rocky doing my 2nd b.tech(it)in this i have to do a dbms project with ms access as front end and vb as back end i choosen student data base with name,regno,dob,address,marks,attendancepercentage please help with coadings 4 this..,

Software Development visual-basic
Member Avatar for AndreRet
1
123
Member Avatar for sirving

:sad: I have written a number of macros which work successfully, but 1 is giving me some trouble. At the start of the macro, I open another excel worksheet and copy data from sheet using [Range("A1", "G30").Copy], then paste using [Range("A2").Select], [ActiveCell.PasteSpecial] on current workbook. This pastes the data correct …

Software Development visual-basic
Member Avatar for geraldscm
1
1K
Member Avatar for white feather

[CODE]void age() { boolean isValid = false; Calendar user = null; while (!isValid) { System.out.print("Enter Date (mm/dd/yyyy): "); DateFormat df = new SimpleDateFormat("MM/dd/yy"); String s = In.in(); Date date = null; try { date = df.parse(s); } catch (ParseException e) { System.out.println("Date error"); } user = Calendar.getInstance(); user.setTime(date); if (user.getTime().getTime() …

Software Development java
Member Avatar for white feather
1
119
Member Avatar for nirveshverma

hi to all i have a lot of interest in c# but i don't how to and where to start since my mathematical portion is very weak but i want to overcome this and i want to learn c# perfectly please tell me best resource please don't mention about MSDN …

Software Development c#
Member Avatar for apegram
1
135
Member Avatar for sunnynight

Dear All, I have a text file containing these lines: [QUOTE]12345 12 123 1234 123456 1234567890 123456789032453 1234567890724832445 12345.123456 12345.123 12.12 12[/QUOTE] And I want to read them from c:\numbers.txt and store them into an array and then do some calculations, then save the results in another file(c:\results.txt). I have …

Software Development c file-system microsoft-access
Member Avatar for Banfa
1
6K
Member Avatar for William Hemsworth

Heres a code that allows you to manually change the sensitivity of the mouse by using windows hooks.

Software Development c++
Member Avatar for William Hemsworth
1
3K
Member Avatar for bleutana

im writing this program for an intro to c class, I was wondering if anyone knows whats wrong with this code? it says theres an error with the first else, if i take the curly brackets out it says theres a problem with all 3 else's. Thanks. [CODE]#include <stdio.h> int …

Software Development c
Member Avatar for bleutana
1
76
Member Avatar for Falmarri

Is there a c++ library, preferably an STL, that can parse for regular expressions? Or is there an open source standard expression that I could preferably just include in a header instead of having to link against? I've never been good with regular expressions though. What I'm trying to do …

Software Development c++ open-source
Member Avatar for Falmarri
1
144
Member Avatar for HoldmysunnyD

Hey Daniweb, I'm back again! This time around, my assignment is to implement a binary tree, a tree node, and a binary search tree using the class definitions given to us by our teacher. Implementing the TreeNode was no trouble at all, but when I started on the Tree itself, …

Software Development algorithm c++ queue
Member Avatar for em-kay
1
284
Member Avatar for Diamonddrake

This simple class encapsulates the exAnimatewindow api call. I got tired of adding all the jazz to every form I need to use as a pop up, or any borderless forms I used. (Windows 7 and vista don't animate windows with no border by default) This class could easily be …

Software Development api microsoft windows-api windows-vista
1
255
Member Avatar for vbx_wx

hello,i am using GetAsyncKeyState() function for a keylogger,but my problem is: how do i test if 2 keys are pressed simultanion. For example: when i press SHIFT and letter 'a' it should print 'A'. Can anyone help me ? thanx

Software Development c++
Member Avatar for Narue
1
154
Member Avatar for jockfaire

Hello, I am developing a mobile application (school project) using a Windows Mobile 6 Professional emulator. This application has a login function that prompts for a password and uses a Data Access Object(DAO) to connect to a SQLServerCE database. This database has a table called User which stores the password. …

Member Avatar for jockfaire
1
156
Member Avatar for lewashby

I'M reading "Head First C#" In this book I was told that when you want to create a float that you need to add an "F" to the end. float myFloat = 14.6F; But the very first thing you type is "float", isn't that enough?

Software Development
Member Avatar for ddanbe
1
109
Member Avatar for prettyann

Hi. I have a bit of a problem with this code: [CODE] #include <stdio.h> #include <conio.h> #include <stdlib.h> main () { FILE *data; char let; int prior, ctr; data = fopen("huffman_table.txt", "r"); while (fscanf(data, "%c%d\n",&let, &prior)!='\0') { printf("\nLetter: %c Priority: %d", let, prior); } fclose(data); getche(); } [/CODE] The huffman_table.txt …

Software Development c
Member Avatar for jephthah
1
146
Member Avatar for HeavySoul

Hi people, my first post here, hope its a good one. I am trying to develop a program which will simulate a very simple name server, using the client-server frame. My problem appears after the server receives the data (in form of a string) from the client and tries to …

Software Development c client-server file-system
Member Avatar for girishn
1
134
Member Avatar for doom5

I'm teaching myself C, and wrote this string reverse function. I cannot figure out why it is crashing... [code=c]#include <stdio.h> void ReverseString(char *inStr, int length); void ReverseString(char *inStr, int length) { char temp; int j=length; int i=0; while( i != j) { temp = *(inStr+i); *(inStr+i) = *(inStr+j); *(inStr+j) = …

Software Development c
Member Avatar for girishn
1
143
Member Avatar for gcochra1

I have a list from the stl called Clist. It has alot of items in it and one is a double called fVal. I want to insert new nodes in the list in ascending value according to the fVal. I have tried the following code and it works fine for …

Software Development c++ linked-list
Member Avatar for Lerner
1
104
Member Avatar for trantran

This is likely a stupid question, but I can't figured out by myself how to pass a pointer to a member function of a templatised class in its own template parameters. More clearly: I would like to have this to work out: [code]template <typename T, T test::* PtrToMember> class test{ …

Software Development c++
Member Avatar for trantran
1
565
Member Avatar for paradiseis

Write an addressBook class that manages a collection of Person objects,An addressBook object will allow the programmer to add,delete,or search for a Person object in the addressBook. code: import java util.*; class AdressBook{ private String person,inputstr; private int age; char gender; Person Bob; Bob=new Person(); for (int i=2;i<names.length-1;i++) names[i]=names[i+1]; for …

Software Development java
Member Avatar for kvass
1
97
Member Avatar for serious01

hey guys, I've just joined this group and i have problem which i believe you can help!!!! I want to know how to make a c program read from an application program like Microsoft excel and them writes the results with its printf().

Software Development c
Member Avatar for serious01
1
133
Member Avatar for lionaneesh

[CODE]#include<stdio.h> void squeez(char s[],char z[]); int main() { char s[100] = "Hey wassup !!!!!!"; char z[100] = "Wow cool!!!!!"; squeez(s,z); return(0); } void squeez(char s[] , char z[]) { int j,dummy = 0,i=0; char x[100]; for(j = 0 ; s[j] != '\0';j++)/* the starting loop */ { while(z[i] != '\0') …

Software Development c
Member Avatar for urbangeek
1
270
Member Avatar for Siberia

I'm having a problem with editing values of a gridview and them being updated back to the gridview. At the moment the code gets the old value of the textbox and I'm assuming I've made an error in trying to obtain the new value. I've highlighted what I think to …

Software Development session
Member Avatar for jbennet
1
106
Member Avatar for TheZea

Hello all, Firstly let me say yes, i have searched the forums, secondly No! i am not asking for you to do my homework, i realize how much you all hate that =P I am here for some guidance, i have exhausted my researching capabilities and am at the point …

Software Development c c# c++ legal
Member Avatar for TheZea
1
459
Member Avatar for jcb0806

I have two text boxes, submit button. and a dropdown list with the items(even, odd, and all). I want to calculate the sum of either all "Even", "Odd" or "All" numbers according the selection. In the code below, I have the "all" section working correctly but I'm trying to figure …

Software Development vb.net
Member Avatar for WaltP
1
2K
Member Avatar for hjdoran

Hi everyone, I'm at my witts end and need some advice. I need to create a new table in MS Access from a datatable and I just can't get it to work. I have tried SQL with no luck, but I've been spinning my wheels in the mud. Any advice …

Member Avatar for hjdoran
1
125
Member Avatar for boyz

plz give me one example and how to generate Driver of data base

Software Development java
Member Avatar for varunnanda
1
244

The End.