132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fbudek

I have been working on an assembly OS with a bootloader and console type thing, it is now getting too big for the 512 bytes allocated as the bootloader so I was wondering how I could link in an external assembly file to use without any size limit, which would …

Software Development assembly
Member Avatar for prashant14214
0
706
Member Avatar for aratnon

sorry, i'm a newbie of java. for example, public static myObj createObj(String nameFormUser){ myClass nameFromUser = new myClass(); return nameFromUser; } can it possible ?

Software Development java
Member Avatar for Taywin
0
630
Member Avatar for manishanibhwani

When is the garbage colletor called in c...Like in the following code int main() { int *i; int *fun(); i=fun(); printf("%d\n",*i); printf("%d\n",*i); } int *fun() { int k=12; return(&k); } the address being returned is of a variable that is no longer available....but printf statement prints 12 first time and …

Software Development c
Member Avatar for manishanibhwani
0
105
Member Avatar for Pundia

Hi! I have a little question. I'm new to WPF, and I've been working with DevExpress, I'm with the TreeListControl right now. How can I change the data format in a field? Specifically, I have a string with the url or route of an image, and I want the tree …

Software Development
0
221
Member Avatar for Frensi

Hi again, I'm here to ask another stupid question so I apologize. I'm going to make a calculator in Python but I've ran into a wall, with the tutorials I've been following I've only ever been taught how to add two numbers together. Never have I learned how to add …

Software Development python
Member Avatar for HiHe
0
6K
Member Avatar for manishanibhwani

how are float values exactly represented in memory......

Software Development c
Member Avatar for sepp2k
0
115
Member Avatar for situ.pati

I have created a database in ms access and a form, in which i want to add some records, it is updating correctly, but when i close the form and restart the application and started to add new records the previous records are deleted automatically. please help me in this

Software Development vb.net
Member Avatar for G_Waddell
0
211
Member Avatar for esy928

Greetings! Currently, I'm hitting a road block on a task that I need to perform. My goal is to hash my source code and check if the code has been changed during runtime. if it has been modified, it shouldn't be allowed to run. My question is how do i …

Software Development java
Member Avatar for esy928
0
145
Member Avatar for Denden17

Hello, anyone here have an idea of making your form more dynamic while not in a runtime i mean the form maximum size is the same as my screen resolution here in pc. i just want to add more control in that form but i cant because the maximum size …

Software Development vb.net
Member Avatar for Denden17
0
91
Member Avatar for iThaos

Hi everyone, I'm trying to make a little applet that reads text files. I was planning to load some data into a class and use it later. However, I seem to having a few problems with it. // DataSet.java package com.someone.something; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class DataSet …

Software Development dataset java
Member Avatar for iThaos
0
427
Member Avatar for number361

Hello! I'm a beginner developer and I'm currently learning Visual Basic 2008 Express Edition. I'd like create the following program: - search custom selected database - if selected database contains TABLEX and if TABLEX has data in ColumnY and it equals 0 then make some sort of signal/error/report where it's …

Software Development open-source vb.net visual-basic
Member Avatar for Reverend Jim
0
119
Member Avatar for Enrique Nivasch

Hi, I am getting the following error while compiling error: argument of type 'void(FClass::)()' does not match 'void(*)()' on the line fPointer=instance.PrintIt; // Give the pointer the function address This is my code /** * @file FPointer.c * This is the main FPointer program start point. */ /** * Main …

Software Development c++
Member Avatar for DeanMSands3
0
342
Member Avatar for Danielgof

hi there i'm a begginer in c# i need to create a textbox onkeypress.. i have a dynamic list of courses... i need the first charachters that typed in the textbox will find those courses with names that begins with those charachters ...kind of filter... and i need to do …

Software Development client-server
Member Avatar for superjj
0
148
Member Avatar for danny.vin

# **program editor** # how to create a **program editor** for compiling and executing java programs?i need the codings...

Software Development java
Member Avatar for stultuske
0
202
Member Avatar for Estella

i want to extract icon from exe file. does anyone know how to do this?? thank you very much Regards Estella

Software Development visual-basic
Member Avatar for palvani
0
653
Member Avatar for Sneaky Pete

Hello everybody, I have a question about vb.Net. I really hope that you can help me with it. I've got a form with several textboxes. When the user gives input in an textbox and presses the tabkey, then the input in the textbox must be checked and complement with data. …

Software Development vb.net
Member Avatar for Pride
0
245
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> main() { char a[30]; int i,j,n,temp; printf("enter the limit: "); scanf("%d",n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } for(i=0;i<n-1;i++) { for(j=i+1;j<n;j++) { if(strlen(a[i])>strlen(a[j])) { temp=a[j]; a[i]=a[j]; a[j]=a[i]; } } } for(i=0;i<n;i++) { printf("%d",a[i]); } } compiler stops working here when executing the program but 0 …

Software Development c
Member Avatar for rithish
0
2K
Member Avatar for riahc3

Hey I want to make a multithreaded and multiuser web service in Java. Where do I even start looking? Currently I have a web service that is one user and one thread. I think Ill problably have to completely rewrite it from almost scratch so.... Where can I see some …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for khaled_jawaher

i am trying to run a jar file i created from net beans when i built my new project.it is giving me error cant launch application i tried everything.I am using window7,i opened the command prompt and put assoc jarfile ftype jarfile="C:\Program Files\Java\jdk1.6.0_01\bin" "%1" %* and tryied to run it …

Software Development java
Member Avatar for stultuske
0
200
Member Avatar for shanki himanshu

char str[]="S\065AB"; printf("\n%d", sizeof(str)); explain the output. i am getting 5.

Software Development c
Member Avatar for Banfa
0
549
Member Avatar for fatihunal

Hi there, Im working a web browser automation project. There is an ajax controlled dropdown list in a web site. It was like this; [CODE] <option value="test1">test1</option> <option value="test2">test2</option> <option value="test3">test3</option> <option value="test4">test4</option> <option value="test5">test5</option> [/CODE] When i was selected test2 ajax is working and its giving another div. (I …

Software Development web-browser
Member Avatar for PccenTR
0
3K
Member Avatar for laavanya

> WHAT SHOULD WE LEARN OTHER THAN C LANGUAGE TO DO PROJECTS IN C..??PLEASE HELP...

Software Development c
Member Avatar for rithish
0
144
Member Avatar for ingus16

How can i change masked text box properties for IP address input. For example private void Interneta_savienojums_Load(object sender, EventArgs e) { maskedTextBox1.Text = " . . . "; maskedTextBox1.PromptChar = ' '; maskedTextBox1.Mask = "009.009.009.900"; maskedTextBox1.ResetOnSpace = false; maskedTextBox1.SkipLiterals = false; } In form text box show ( . . …

Software Development c c# c++ lan-wan
Member Avatar for ingus16
0
7K
Member Avatar for cor.vandijk.779

Theinput in a JTextField must be used in the variable Color color. input = YELLOW must change variable color in Color.YELLOW. My attempt does not work:

Software Development java
Member Avatar for JamesCherrill
0
239
Member Avatar for Gaiety

I have executed the below program several times, most of the time i got the same out put but some times output is different. sample out put is: > skylab@skylab:~/Nx/Thrds$ gcc 3.c -lpthread > skylab@skylab:~/Nx/Thrds$ ./a.out > Scheduling policy = ??? > arg = 20 > 1arg = 20 > …

Software Development c
Member Avatar for Gaiety
0
215
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
202
Member Avatar for iFrolox

I got a blank project, i added 3 checkboxes, and 1 inside a group box. And i got this code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each phCheck As Control In Me.Controls If TypeOf phCheck Is CheckBox AndAlso DirectCast(phCheck, CheckBox).Checked Then If phCheck.Tag Is "Test" …

Software Development vb.net
Member Avatar for iFrolox
0
3K
Member Avatar for DarkT

Hi everyone. I'm used to programming in C/C++ and I've created some dialog based windows apps. Recently, I've got an assignment at work to learn C# + WPF and its capabilities showing video. My company works with cameras and my job is to create an app to show their feed. …

Software Development asp.net gui video
Member Avatar for robert.s.junior.98
0
245
Member Avatar for katie1988

I'm creating a program where the user can search items in an access database and results are displayed in a listview. When I click search all items are displayed but when I enter an item in the textbox then search nothing is displayed. This is my code Private Sub cmdProdSearch_Click() …

Member Avatar for Bile
0
1K
Member Avatar for triumphost

In OpenGL, I'm reading about glVertexPointer which has a parameter: `const void* pointer` and it is a pointer to the coordinates of the first vertex. Thing is, it doesn't have any parameters that tell you the amount of vertices there are. I'm wondering if there is a way to copy …

Software Development c++ opengl
Member Avatar for triumphost
0
215
Member Avatar for madhan

Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with …

Software Development assembly visual-studio
Member Avatar for madhan
0
217
Member Avatar for shanki himanshu

what is difference between a)strcpy and memcpy b) memcpy and memmov?

Software Development c
Member Avatar for Ancient Dragon
0
136
Member Avatar for Suzie999

Hi, I wonder if anyone can direct me to a win32 API or offer some logic as to how I might copy memory to a specific location in an array. What I am doing at the moment is copying an unsigned int into an unsigned char[]. The reason is to …

Software Development api c++
Member Avatar for Suzie999
0
147
Member Avatar for depy

Hello python world. I am new to python. I need some help in creating a table. It is an input file as <name>,<age>,<gender>,<marks>. these items can be seperated using a ','. The test part would contain mixed spaces.. e.g Jhones can be written as __JHoneS__. but if has to return …

Software Development python
Member Avatar for ZZucker
0
121
Member Avatar for M.Waqas Aslam

hello , i am getting error on it , object refrence is not set to an instance of an object , my code is if (dgvBlockSites.Rows[j].Cells[1].Value.ToString() != "-1") { //-------------- some code here } i dont know what is wrong with it , i have 4 or 5 rows in …

Software Development
Member Avatar for waqassilat
0
120
Member Avatar for Dane2259

I have been trying to follow along with the tutorial on Apple's developer website: https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html but cannot figure out why my project will not run. I have one warning: Incomplete implementation in the BirdSightingDataController.m file: #import "BirdSightingDataController.h" #import "BirdSighting.h" @interface BirdSightingDataController () - (void)initializeDefaultDataList; @end @implementation BirdSightingDataController @synthesize masterBirdSightingList = …

Software Development apple ios iphone objective-c
Member Avatar for Dane2259
0
146
Member Avatar for msrikanth

Hi Everyone, I need a perl script to create a word document in linux (in my system i have openoffice(oowriter) 1.1.5) with some text as header(left aligned) which is taken from a "file.txt". contents of the file.txt are HariKrishna 1200 Srikanth 1201 Madhav 2345 So based upon the no of …

Software Development perl
Member Avatar for d5e5
0
341
Member Avatar for ThePythonNoob

Hi, I have made a square that will move but there are some bugs in the movement. I can't find anything wrong with the logic which is why I need help ;) You have to press left and right to move the square. The problems with the movement are: 1: …

Software Development python
Member Avatar for ThePythonNoob
0
3K
Member Avatar for M.Waqas Aslam

hello ! i want to restrict user to not visit www.abc.com site , from my pc , how can i do it in c# , user will use chrome , firfox , IE etc , Regards

Software Development
Member Avatar for M.Waqas Aslam
0
95
Member Avatar for Sprewell184

Hey,hoping someone can help me. I'm having an error in my project. This is the problem for the project: In C++, the largest int value is 2, 147, 483, 647. So, an integer larger than this cannot be stored and processed as an integer. Similarly, if the sum or product …

Software Development c++
Member Avatar for Sprewell184
0
578
Member Avatar for myk45

Hello All! Well this is not exactly a C++ question. Please let me know if this needs to be posted elsewhere. So, here it goes: I have a project, cosisting of the entire buildrules in Makefiles. This has been built only on Linux. Now, i need to build it on …

Software Development c++
Member Avatar for myk45
0
220
Member Avatar for rithish

i have a doubt how can we use string in matrices for examples a[0][0]=rohinn a[0][1]=rithish how to do this????

Software Development c
Member Avatar for zeroliken
0
591
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> main() { char a[30],b[30]; int i,j,n; printf("enter the limit: "); scanf("%d",&n); printf("enter the string: "); for(i=0;i<n;i++) { scanf("%s",a[i]); } j=strlen(a[0]); printf("%d",j); } here for example it will take 4 words where a[0]=word1,a[1]=word2,a[2]=word3,a[3]=word4 where i have particularly find string length of a[0] in 15 th line i …

Software Development c
Member Avatar for zeroliken
0
216
Member Avatar for lesliebielski

I am new to Java (taking it to get warmed up for C and C+++ as I am very rusty.) I am writing a class that is suppose run the file DLTest.java(written by the instructor) that is suppose to keep track of two licenses with name and tickets. DrivingLicense, ().addTicket, …

Software Development java
Member Avatar for JamesCherrill
0
240
Member Avatar for Suzie999

I have been trying in vain to pass an array to a thread and have that thread loop through it. Here is code of a simple thread passing an int to it. #include "stdafx.h" #include <windows.h> #include <stdio.h> #include <stdlib.h> #include <iostream> DWORD ThreadProc (LPVOID lpdwThreadParam ); int threadnumber = …

Software Development c++
Member Avatar for Suzie999
0
213
Member Avatar for Denden17

Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution. Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution …

Software Development vb.net
Member Avatar for Denden17
0
242
Member Avatar for weeraa

I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update …

Software Development dataset open-source vb.net
Member Avatar for hericles
0
157
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Software Development file-system vb.net
Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int i,j,n,c[10]; char *str,ch; str=(char*)malloc(20); printf("enter the string: "); fgets(str,sizeof(str),stdin); n=strlen(str); printf("%d",n); j=1; c[1]=0; for(i=0;i<n;i++) { ch=tolower(str[i]); if(ch== '') { j++; c[j]=0; } if(ch=='a'||ch='e'||ch='i'||ch=='o'||ch=='u') c[j]++; } printf("no of vowels in each word in given line is \n"); for(i=1;i<=j;i++) { printf("word is %d-->%d\n",i,c[i]); } …

Software Development c
Member Avatar for deceptikon
0
151
Member Avatar for Sendy Hipo

hi guys, im curious about c++ gui qt , the i searched for it and download QT opensource 4.8.2 (300mb+) for windows i run the installer, then it asked me for MinGw's directory in my pc, then i use the MinGw inside my codeblock, after that it said "Found version …

Software Development c++ gui open-source qt
Member Avatar for Sendy Hipo
0
358

The End.