199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for az-mi51

I am trying to multiply two single arrays and printing out a 2D array...basically I'm making a multiplication table. I keep getting SEGMENTATION FAULT error. Any suggestions? #include <stdio.h> #define COLUMN_SIZE 12 #define ROW_SIZE 12 #define SIZE 12 int main (void) { int i, j, k; int column[COLUMN_SIZE] = {1,2,3,4,5,6,7,8,9,10,11,12}; …

Member Avatar for az-mi51
0
225
Member Avatar for Carc369

Basically this function is supposed to accept a user inputted string, and the amount it is supposed to be transposed by 'x' amount (between 0-25). The idea behind transposition is that if the user enters "abc" for the string and then wants to transpose it by 1. The new string …

Member Avatar for Carc369
0
161
Member Avatar for subrat_p

I have a textfield, and that only accept integer numbers. If user input charter type value it shows JOptionpane Error Message and when user click on the ok button in optionpane message the textfield clear itself public void nosgetit(DocumentEvent documentEvent){ DocumentEvent.EventType type = documentEvent.getType(); if(type.equals(DocumentEvent.EventType.CHANGE)){ } if(type.equals(DocumentEvent.EventType.INSERT)){ String ns=nos_txt.getText(); char …

Member Avatar for JamesCherrill
0
551
Member Avatar for F1Fan12

Hi All, I am writing a program in which I take data for a table from the user, and then ask for the alignment for each column. Then I have to display it. Each column mush be separated by a tab and a space. For example, let's say the user …

Member Avatar for woooee
0
5K
Member Avatar for vizz

How to set user name for Google+ profile like following, **www.facebook.com/username**

Member Avatar for diafol
0
70
Member Avatar for dbickel

I dont even know where to start since I am struggeling with the whole pseudocode process. Here is the scenario. The international Rock Paper Scissors Society holds regional and national championships. Each region holds a semifinal competition in which contestants play 500 games of Rock Paper Scissors. The top 20 …

Member Avatar for dbickel
0
275
Member Avatar for Tiger909

Hi Guys , I am stuck in finding first 29 numbers in the Fibonacci sequence.I already have the code that can display the first 11 Numbers, Here is my code : .MODEL SMALL .DATA NUM_1 DB 0 NUM_2 DB 1 NUM_3 DB ? .CODE MAIN PROC MOV AX,@DATA MOV DX,AX …

0
348
Member Avatar for Starship12

I need no make a program with stacks. Due tomorrow! But I suck at structs, so I spent 3 days trying to make the program and still have it not done yet :( I need your help!!!! I need to put 10 int numbers into the stack in an increasing …

Member Avatar for NathanOliver
0
121
Member Avatar for PriteshP23

I would like to know the best way to manage the two drop down menu on the PHP page. 1st menu : Select Type of House (House1, House2, ) 2nd menu : Select Number of Rooms (1,2 .. 12) The system should be displayed price based on selected items. Need …

Member Avatar for PriteshP23
0
294
Member Avatar for PriteshP23

I need to make time difference of 24 hours from registed time. In my database, there is column datelog with type "timestamp" Default value: CURRENT_TIMESTAMP I need the result if user with data: 2012-10-02 14:51:41 Test1 Test 2 User must not be able to register for next 24 hours. Thanks …

Member Avatar for PriteshP23
0
229
Member Avatar for timon.bijl

Hello , I'm making tetris in vb.net and i'm working with an image in a picture box that falls and with classes , my whole program works but hen my image falls it actually copies itself , does anyone know an eraser function or something or a method how to …

Member Avatar for faroukmuhammad
0
256
Member Avatar for hexes

Basically I am asked to reinvent the wheel a.k.a. the uniq commmand. I have to write a code that returns the number of occurence of each line in a file. I've done it a lot of times in Python and Java with a simple for line in file if given_line …

Member Avatar for deceptikon
0
236
Member Avatar for ntggl19

i want to write a simple programme with the function malloc on a function.. i want to write a function where i will have a table MAX(define the MAX) with strings and read it later i want to save every string on the table in that way that i don't …

Member Avatar for deceptikon
0
133
Member Avatar for kirtee2209

Hi. I am using a comparer class to sort a list of People details by their firstName. The code to do this is as follows: public class PersonDetailsComparer : IComparer<PersonDetails> { public int Compare(PersonDetails x, PersonDetails y) { int returnValue = 0; if (x != null && y != null …

Member Avatar for kirtee2209
0
133
Member Avatar for HunainHafeez

my griedview is half shown on browser's screen and even it disabled horizontal scroller on screen (browser), why ? whenever i fill my gridview with many columns than it is half shown and disables scroller too, why ?

Member Avatar for HunainHafeez
0
259
Member Avatar for Vaspar

I am BSCS student, i have selected Cyber Spy as my Semester project.(C# nd ASP) it will basically get keylogs and screenshots from host computer and save that information in online portal for administrator to check what employees are doing. I have learnt about keylogging and have basic idea about …

Member Avatar for deceptikon
0
204
Member Avatar for hwoarang69

so i now how to write quies and really really easy. its alot easier than being computer programmer. but sql salary are really high and computer programer which is alot harder is lower. why is this. a phd student told me that sql job are really boring. is that true??

Member Avatar for JorgeM
0
512
Member Avatar for Ahmad1797

Hi, i'm willing to print a pyramid but it's not working quite good my programme is followings: Anyone please help me..:) NOTE:"REMEMBER, you can't use extra things in this programme except bool variables and if, if else statements as they are prohibited and that's the MAIN task" #include<iostream> using namespace …

Member Avatar for Gonbe
0
106
Member Avatar for pooran.c

int [10] array_int=new int [10]; array_int[0]=0; array_int[1]=1; array_int[2]=2; array_int[3]=3; array_int[4]=4; array_int[5]=5; question is: how to print in circular manner starting from the middle(index is 2) that is output : 2 3 4 5 0 1 .

Member Avatar for stultuske
0
372
Member Avatar for chiboyy2k3

pls i studied mass communication in my first degree, but now i want to move over to software engineering cos i just discovered i have more passion for the software engineering, but the challege is, i dnt have much knowledge about the course and am not too good in mathematics. …

Member Avatar for L7Sqr
0
157
Member Avatar for aravind326

Hi, I am just trying to do some program on arithmetic expression parsing. So i want to store my operator precedence table in the program somehow. I could use a multidimensional array, but that would be inefficient i guess. Another idea i have is to use a HashTable, where the …

Member Avatar for aravind326
0
455
Member Avatar for Gsterminator

So here is my problem. My program's goal is to to find the shortest path for a maze in a text file. User inputs a string and then the string goes through a function that reads the file into a 2d array. My problem is that I'm seperating the sources …

Member Avatar for Lucaci Andrew
0
248
Member Avatar for btech_Saurabh

Hi Developers..... I have a Problem.... I have a XML file.....n I have to Read the Data from that XML file n Create a New File and the Data is in a Binary Format.....(All the code is in C# only) I have used the BinaryReader,BinaryWriter and BinaryFormatter but i can't …

Member Avatar for Diwakar Kumar
0
5K
Member Avatar for hwoarang69

hi trying to get a job where i have to write sql queries. i have writen some queries but i have to do a project. that way i can show the project to other people. any ideas of a sql projects?

Member Avatar for pritaeas
0
132
Member Avatar for dbalas

Hi! I need to insert data in to two tables in a same database at the same time. One will be editable where i will remove stock but one will be history where all data stays intacted. Is it possible to do it?

Member Avatar for dbalas
0
141
Member Avatar for liz.willy
Member Avatar for hwoarang69

so i have a interview on data structures. i am sure they will ask question on 1d arrays. but what can they ask me? 1.give a array find the max and min value. 2.give a array find avg. 3.sum of all value in array 4.... what else can they ask …

Member Avatar for jalpesh_007
0
189
Member Avatar for nCODE

Hello, I need to obfuscate a file that communicates with my server. This is to prevent (or make it harder for) the nullers. Is there any good FREE PHP obfuscator? Thanks!

Member Avatar for pritaeas
0
270
Member Avatar for pennywise134

I am working on an assignment for my C++ course, and could really use some help with the following problem: **Instructions: 1. In this assignment we are going to write an object oriented program to calculate provincial tax, federal tax and net income. Your objective is to design a class …

Member Avatar for starpro57
0
151
Member Avatar for priyanka9

I want to filter the datagridview on Search button click,i am using 3-tier architecture,the grid should be updated with the search result

Member Avatar for Pgmer
0
221
Member Avatar for Syrne

Hi there, I'm new to tree maps and I am trying to write my own version of the pre-defined "remove" function for Tree Maps. I know I need to have two extra functions that find the minimum and maximum values in the map that will be called within the remove …

Member Avatar for ekemaz11
0
253
Member Avatar for Asif_NSU

[QUOTE=Dave Sinkula]You may want to investigate makefiles. Then you can use your favorite editor and still write modular code the correct way.[/QUOTE] I just had a glance at how to write makefiles. Looks messy(will look into that later). So opened Dev C++ instead, and tried to work with projects for …

Member Avatar for Musa_Jutt
0
3K
Member Avatar for keltik

I found this script which generates a row in a table. I additionally want it to alter the name-field of the row it generates, because the data of each newly generated row is needed to be saved into a database later. However clicking only creates a row without renaming the …

Member Avatar for cguan_77
0
208
Member Avatar for london-G

Hello. I have a tablw which holds quite a lot of information, I would like to print the table in landscape. try { boolean complete = Table_Stud.print(JTable.PrintMode.FIT_WIDTH,header,footer); if (complete) { JOptionPane.showMessageDialog(null, "printing...."); } else { JOptionPane.showMessageDialog(null, "Cancelled!"); } } catch (PrinterException pe) { /* Printing failed, report to the user …

Member Avatar for mKorbel
0
780
Member Avatar for ThePythonNoob

I have two inherited classes in another class Class A(object): def printhello(self): self.message1="hello" Class B(object): def printbye(self): self.message2="bye" Class C(A,B): def __init__(self): super(C,self).printhello() def printboth(self): print(self.message1) print(self.message2) a = A() b = B() c = C() c.printboth() How do I super both A and B?, note this is just an …

Member Avatar for TrustyTony
0
2K
Member Avatar for rotten69

Hey everyone, I have just uploaded my php files onto a free hosting server and tried to access the website. I got this error " mysql_fetch_array() expects a resource in parameter 1" or something like that. By the way, the files did work on my local machine. What is the …

Member Avatar for paulinetaylor85
0
195
Member Avatar for Matigo

Hello everyone I'm creating an application in visual basic 2010, "I'm very new to this" What i want to do now is to make a monitor to check the status of the website server (If it's up or down) I know that i can just ping it using CMD"command" But …

Member Avatar for Matigo
0
129
Member Avatar for Ubunterooster

The code I wrote is supposed to show the billing amount. It compiles fine and gives no runtime errors but fails to provide any output and gives the "Improper selection. Please Choose R or P" error regardless of what letter is typed. //switch statements //The program compiles fine and does …

Member Avatar for nullptr
0
178
Member Avatar for indrajeet6

Hi all, I had originally installed MS SQL Server 2008 R2 in my C: when I was developing the application. While I had the SQL DErver in my C:, everything was fine, no problems at all. Then I began getting low disc space messages, so I uninstalled it from my …

Member Avatar for indrajeet6
0
179
Member Avatar for LucianAdamson

I've been through post after post after post for the last few hours trying to figure this out... im new to the XML parsing stuff so I am starting to get frustrated. Here is a sample of the XMl im trying to parse: <level id="1"> <prop n="PROPERTY" v="VALUE"/> </level> <level …

Member Avatar for LucianAdamson
0
295
Member Avatar for LucianAdamson

Hello all! Hopefully there is someone out there who can help me with what I need to achieve. Goal: Loop through XML file, reading node by node searching for a node with a specific attribute with a specific value, then write to another attribute of said node found. I feel …

Member Avatar for LucianAdamson
0
358
Member Avatar for wackyal

I am having trouble trying to update my comment, well I also don't know why my table isn't displaying on my updatecomment.php page. How do you delete a comment too. If you see any other errors please feel free to fix it. Thanks in advance <!-- start dbconfig.inc.php page --> …

Member Avatar for LastMitch
0
808
Member Avatar for petzoldt01

Not sure if this is quite the place for my question, but I dunno why you couldn't handle it ;) Really just looking for some opinions/answers on develop/design workflows for small/medium projects using AdobeCS5. This week I discovered many of the magics between Illustrator/Flash, such as arranging symbols on an …

0
309
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make grid transition in visual studio using the language visual basic. Please help...

Member Avatar for joshl_1995
0
276
Member Avatar for geneh23

Hey everyone, So I'm doing a project just for the heck of it. However, I'm stuck on an issue. I want to query the database to select the last comment in the answers table so I can display it on the main forum page under the specified topic. How do …

Member Avatar for LastMitch
0
208
Member Avatar for coroshea

I chose to enter 4 months during runtime. I decided to test out the member functions/dynamic feature of linked lists, by then adding 3 months before compile time (static binding), which would be appear after the first 4 months. The program outputs: > Full list again: > Month January, had …

Member Avatar for coroshea
0
280
Member Avatar for shhh

echo "<script type='text/javascript'>alert('. $row['working_hours'] .');</script>";

Member Avatar for LastMitch
0
75
Member Avatar for lich

i want to connect the sql dabase to vb.net form. can anyone tel me how to do it. i tired google. but it only says about ms access database. please help me

Member Avatar for Icone
0
46K
Member Avatar for kayceedude

I have a program below that I want to display when checkbox is checked and hide when unchecked. I created a Message Label for it but the thing is that when its unchecked, my messagelabel and message displays.... Pls is there a way I can hide the message without the …

Member Avatar for Icone
0
134
Member Avatar for keyontes

Need help building a Shipping Calc with some limitation really confused on how to word and code this program. Below is the code I already have after creating the form. This is my assignment Weight of the Package (in kilograms) / Shipping rate per Mile 2kg or less / $0.01 …

Member Avatar for Icone
0
188

The End.