199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mehr Hassan

Hi, I have written a C program in Turbo C to load BITMAP image and now i am trying to send it over serial port. Kindly Help me how to send that image data which i already loaded in memory over serial port using OUTPORTB or BIOSCOM ? [CODE]#include <stdio.h> …

Member Avatar for rubberman
0
1K
Member Avatar for AlWreikat

I want to write a C code that reads billions of integers from a text file. Each integer is of length 10 digits (e.g. -2311872000). then I build a linked list to store these integers.how could I do that ?

Member Avatar for rubberman
0
535
Member Avatar for haresh.sankarraj

Hi members, This is a program i wanted to implement semaphore between parent and child processes which are trying to access a shared variable called counter ... i dont know why it is not getting incremented during the child process !! someone help please !! #include <stdio.h> #include <sys/types.h> #include …

Member Avatar for rubberman
0
2K
Member Avatar for fashxfreak

A, B, C, and D are two-dimensional arrays , all of the same size ,and all of type double . I need code fragment that computes D = A + B + C, where each element of D is the sum of the corresponding elements of A, B and C. Also two …

Member Avatar for rubberman
0
122
Member Avatar for renagadejesus

My teacher is asking this of me, and I am just not following how to do this. All distance learning and not a lot of assistance. any help would be amazing. "For this assignment, you will create a program that records information for a book sale. You will use parallel …

Member Avatar for Moschops
0
269
Member Avatar for Zahin

Hi everyone, Today i have a question about how can i write one code for all shapes like, 1234 2341 3421 4231 or 55555 55555 45555 34555 23455 12345 Thanks alot.

Member Avatar for Learner010
0
87
Member Avatar for surya.putra.94849

can someone show me how to make an animation in turbo pascal? i'm a new and i'm stuck in making my first game. especially in the animation of the game.

Member Avatar for surya.putra.94849
0
518
Member Avatar for krystosan

I am trying to load the help on each method into a QTextEdit in PyQt4 how can I have this variable hold help on a method, example: `data = os.system('python -c "import sys; help(sys.path)"')` but data value contains `0`

Member Avatar for krystosan
0
371
Member Avatar for simplypixie

This is driving me insane - I have certain links that are re-written on a site that work perfectly fine (and I am not new to re-wring urls) but have just found that some others aren't and I cannot fathom out why. What works: // The link <a href="/shop/<?php echo …

Member Avatar for simplypixie
0
270
Member Avatar for ryanpalma0794
Member Avatar for talat.zaitoun

def matrix(mat, num): for i in mat: for j in i: print(j * num) So I'm trying to make a code that multiplies a matrix by a number, my code above is not working and i think the reason is the for statements could be wrong, so what i tried …

Member Avatar for Schol-R-LEA
0
166
Member Avatar for ticomatik

I am a newbie to C++ . i am trying to , i think, answer this question and i am lost many hours wasted. I think I've broken the problem done correctly. (NOTE WE CANT USE VECTORS OR STRUCTURE (still newbie) ONLY = CLASS< FUNCTIONS ARRAYS) 1)i need to design …

Member Avatar for kal_crazy
0
727
Member Avatar for mmcdonald

I'm having difficulty opening message content for each unique message because I'm struggling to get the PHP variable `$message['id']` to a url defined in a javascript file. My foreach loop that echos out all of the messages for the user: foreach($mess_data as $message){ echo' <tr '.(($message["read"] == '0') ? 'class="unread"' …

Member Avatar for htmlearner
0
2K
Member Avatar for beachy82

hi there i'm currently trying to create a form for a site and this has been done succesfully however on sending the form it goes to a new page saying either "Thanks! Our Team will get in touch in next 24 hours" or "Oops! something went wrong, please try to …

Member Avatar for Tpojka
0
232
Member Avatar for ARC.1

Write a Java program which adds all numbers that are multiples of either 7 or 9 up to 600. Ensure that numbers like 63 are added only once in the sum. Thanks for help

Member Avatar for Seldar
0
145
Member Avatar for mitchell.schols

I want to have ONE picture on my home page (a poster) and when the date is done I want the new one to replace it and the old to go to a list of all the previous posters. if anyone has a snippet of code that would be amazing. …

Member Avatar for mitchell.schols
0
322
Member Avatar for sweetdame22

My assignment is to create a program that asks the user what they want to do: 1-add a member, 2-delete a member, 3-see the arraylist of members, or 4- exit. I have the menu popping up, but I can't get it to go back to the menu after I execute …

Member Avatar for Seldar
0
209
Member Avatar for cambalinho

is there any function(API or something) for get 1ms of precision? i have 1 timer, but i only get 10ms of max.

Member Avatar for cambalinho
0
419
Member Avatar for Hans B

Hi guys i'm in the process of writing an API and is stuck. I get this error: **Parse error: syntax error, unexpected T_STRING in /var/www/xxxxxxx.xxx/public_html/api/uentry.php on line 35** Here's the code: <?php include '../../cfg/xmlhttpheader.inc'; // ---- Form l: // ---- 1) Rense parameter streng // ---- 2) Omdirigere forspørgsler til …

Member Avatar for Hans B
0
552
Member Avatar for riya#21

I have two dropdownlists on my page containing semester number and subject names respectively. When I select First semester from dropdownlist1 and click on go button then the dropdownlist2 contain subjects of first semester fetched from database in sqlserver.... it is working fine, but when i select semester Second from …

Member Avatar for BMXDad
0
153
Member Avatar for gahhon

Let's say my HTML markup have these div id <div id="div1"> //Contents </div> <div id="div2"> //Contents </div> And i am trying to response redirect to some page which focusing on a specific div id in the code behind.. any tricks would be archieve this? Due to my webpage is applying …

Member Avatar for gahhon
0
1K
Member Avatar for davy_yg

Hello, I am trying to understand the CI code that somebody made. I saw there are two folders: site & admin folders in CI application folder. I wonder why? Is it to separate the site and admin page? Is that possible?

Member Avatar for GliderPilot
0
582
Member Avatar for edogg23

Hello. I'm trying to use SqlDataReader to return information from my database. It works fine until it comes to a datetime field. I'm getting an error saying: " Input string was not in a correct format." on the line where I'm declaring a variable to hold my field. Here is …

Member Avatar for edogg23
0
5K
Member Avatar for skandh

how to display 256 color bmp files in trubo c++ 3.0??? i ve already displayed a 16 color bitmap in turbo c++... i came across this code but it doesnt work...pls tell me whts the error... [code] #include<iostream.h> #include<graphics.h> #include<fstream.h> #include<conio.h> struct A{ char type[2]; /* Magic identifier */ unsigned …

Member Avatar for jay.vivarekar
0
2K
Member Avatar for jacob21

Hi, I need suggestions regarding getting rank of website from search engine.For example: I search php tutorial in google w3school get 1st rank,php.net get 3rd rank How i can get above rank Need help!!! Thanks

Member Avatar for ericnboler
0
93
Member Avatar for Vasthor

The combine function been bug since yesterday. Been trying everything back then, define in the source file, remove some code to prevent overlapping definition, etc... I don't know what I should do, can anyone help on this? #ifndef SALES_DATA #define SALES_DATA #include <iostream> struct Sales_data { // new members: operations …

Member Avatar for Schol-R-LEA
0
129
Member Avatar for Daneil

Dim MoveRight As Boolean Dim MoveRight As Boolean Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick PictureBox1.Image = Image.FromFile("C:\Users\Adrian\Documents\but\Butterfly1.gif") Timer2.Enabled = True Timer1.Enabled = False End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage End Sub Private Sub …

Member Avatar for EMMAGERALD
0
178
Member Avatar for robert.knighton.79

I'm trying to take input keypress event and move the text it would have typed into a textbox to a different textbox instead. textBox1 has a length limit of 1 so I dont actually have to prevent text going into the box because the textbox is already full I just …

Member Avatar for robert.knighton.79
0
3K
Member Avatar for praom2104

Hello, I am trying to execute a jar file with higher version of jdk. But it fails & the worst part is I am not getting any error message. Jar file compiled verison: jdk 1.5 Executed version: jdk 1.7 I assume the jar file is downward compatible. thoughts pls? Thanks! …

Member Avatar for praom2104
0
279
Member Avatar for Violet_82

Hi all, I wonder if you can help me with this. I am looking at a fairly long (well at least for me) java program, about 700 lines. Basically it's a very very basic simulation of an ATM that can run on a computer. Now, in all the classes I …

Member Avatar for Violet_82
0
167
Member Avatar for abhi10kumar

How I can create .mdf file from MySQL; if yes then HOW and if not then which tool do I use create .mdf from MySQL ?

Member Avatar for anjaiahspr
0
303
Member Avatar for pawan768

Hi i want to check the scroll position , like if its greater than 200 from top they it may generate a popup for signup <script> jQuery(document).ready(function($) { // hide #back-top first // fade in #back-top $(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { alert(123); } else { alert(321); …

Member Avatar for pawan768
0
167
Member Avatar for wendas

Totally a newbie question.. Sorry. My co-worker & myself are seeing that C# is the prefered language over VB. We would like to change, but right now it is only to make sure we are more marketable as our company is going down the tubes. We cannot go to our …

Member Avatar for Momerath
0
276
Member Avatar for razree

Hi guys, I'm stucked at (as it seems to me) a very strange problem. I have a listview on my form to which a list of users is populated from mssql db. In the same table but different column I have user_id. I have a textbox and a textbox_keydown control …

Member Avatar for razree
0
1K
Member Avatar for suryawanshi
Member Avatar for rithish

i want to get text from console screen for example System.out.println("hello"); i want to get that "hello" and store it in string how to do that?????

Member Avatar for stultuske
0
179
Member Avatar for Lakshiya

Hi all. I need your help. Iam using vb.net 2010 and sql server 2008. I have problem when retrieve multiple rows from database to datagridview. All rows have the same identification number(patient registration number).I have problem in loop to show the all rows in datagridview. Pleaase anyone knows that help …

Member Avatar for ccccc
0
1K
Member Avatar for mavtcr

Friends , I am new to VB.NET I know something about VisualBasics 6 Ther we have a DataManager to create new database and tables. In VB.NET Is ther any facility to create new database and tables,If so how to use it?If there is no such facility how can we make …

Member Avatar for Reverend Jim
0
269
Member Avatar for Learner010

i want to convert numbers into following pattern if i input `.33` then should produce `1/3` here i am not asking for the exact answer but i just need a good logic to solve this problem.

Member Avatar for rubberman
0
155
Member Avatar for amber.vandenack.5

I need to make a program that will tell me if the user entered a vaild email, phone number, or social security number. This is what I have so far. Sub Main() Dim num As String num = InputBox("Please enter your number!!!", "What was the number you were given?") MsgBox(num) …

Member Avatar for Jamblaster
0
176
Member Avatar for rhodoscoder

I'm working on a php blog , i created a database and it has several fields, i performed an sql command retrieving the id , performed a $query then a mysqli_fetch_array on the $query i retrieved the id and stored it ina variable as follows `$pid=$row['id']; so that the link …

Member Avatar for JorgeM
0
182
Member Avatar for kyleo92

I'm creating a table with PHP/MySql to enter local election results from my newspaper, I'm not a professional developer, more of just a hobbiest hack (who hasn't worked with PHP for a few years either), so feel free to correct existing code if you so please. What I want to …

Member Avatar for diafol
0
347
Member Avatar for can-mohan

Hi, Is there any way to not allow private construction in friend function, In case we do have private constructor with friend function in our class.Only Static method should be responsible for object creation and other than this compiler should flash error message. #include<iostream> #include<memory> using namespace std; class a …

Member Avatar for can-mohan
0
291
Member Avatar for SamarthWiz

Hi, I'm using `THREE.PointerLockControls` and whenever I use them I can't get anything to show up except the ground. My code is based on what I see here: https://github.com/mrdoob/three.js/blob/master/examples/misc_controls_pointerlock.html I know that it works because when I switch to orbit controls (and disable pointerLock) everything works just fine. I know …

Member Avatar for SamarthWiz
0
1K
Member Avatar for anestistsoukalis

I think that my problem is quite easy to be solved by hard coders like you :-) Its a conversion of binary number to decimal and hexadecimal. I cannot find why i am keep having errors in my two classes. Here is the code: **Main :** public class Times { …

Member Avatar for JamesCherrill
0
167
Member Avatar for Eagle.Avik

hi i am building a cms system for my website, i am able to put data into a mysql database with the following code(look below). i also have a login system for accessing the cms, everything worked so far. I am facing a problem now. Ok so user signup info …

Member Avatar for broj1
0
289
Member Avatar for Deegirl

Good morning community, Can someone help me with the IndexOf method to reverse the name: Don Paul to Paul, D

Member Avatar for Deegirl
0
272
Member Avatar for Shari_1

Hi. I'm working on this project where I'm supposed to make a simple online store using ASP.net, MVC4 and Entity Framework. I'm on this part where I want to add some products to a database everytime I run my project, and these products are the one I'm going to list …

Member Avatar for Shari_1
0
301
Member Avatar for robert.knighton.79

I have a form with 30 textboxes which I want to function as if they are only 1 textbox. # **Why Do this instead of substring the string from a single textbox?** # I have them separated for user friendly appearance purposes. Each box is paired with a checkbox so …

Member Avatar for robert.knighton.79
0
215
Member Avatar for Rawan_92line

1. Define a class Car which:  Stores the name, type, price, model year, number of color, and names of available colors  Includes a default constructor.  Includes a parameterized constructor.  Group of available colors is allocated dynamically in the parameterized constructor based on received number of color. …

Member Avatar for tinstaafl
0
213

The End.