15,551 Topics

Member Avatar for
Member Avatar for saladin_1
Member Avatar for Adm666

why when i print the list it always misses the 1st line of input ? here's my code: #include<stdlib.h> #include<stdio.h> struct list { char data; struct list * next; }; typedef struct list item; int main() { item * curr, * head; char c; head = NULL; while((c=getchar())!=EOF) { curr …

Member Avatar for Adm666
0
178
Member Avatar for andreas.petrou.967

Hello, any body. How to check the handler socket is dissconcted? if try this if (handler.Dissconcted) but not accepted from c#.

Member Avatar for andreas.petrou.967
0
102
Member Avatar for JohnMcPherson

Hello, this is John McPherson, writing code for the U.S. Department of Labor. I am working on developing a new Benefit Finanacila Model for the state of Oregon, and I am having a problem with the printing of large numbers that are converted to strings. It works most of the …

Member Avatar for AssertNull
0
488
Member Avatar for chrisschristou

hello, i just set goal of mastering algorith and i just get started i have an algorhtm for insert sort and i when i write it in c it is not sorting this is the algorith for j D 2 to A_length key = A[j] // Insert A[j] into the …

Member Avatar for rproffitt
0
417
Member Avatar for kim_boto

Hi, i would like to know if it is ok to use SQLCE for a big software like SCHOOL MANAGEMENT SYSTEM or LIbrary Management System. If NO. Why? Thank You for your help..

Member Avatar for rubberman
0
92
Member Avatar for Sammie_1

Hi everyone! I need your assistance in creating a c# based web browser. I want to change the useragent string but i don't know how to. I'm a newbie, I'm curious and finding this interesting. There are few things I like to implement with this browser and i need your …

Member Avatar for rproffitt
0
1K
Member Avatar for Supremo_1

I want to create a program that enables user to input 90 entries (90 questions' answer ranging from A to D)(1 answer per Question) and when it feeds the input, the program checks the entries with its randomly generated answer keys. (+4) for every correct entry (-1) for every wrong …

Member Avatar for rproffitt
0
177
Member Avatar for yosri_1

hi all , i search for motion detector documents and code source with systemC programming language, any help pls

Member Avatar for yosri_1
0
911
Member Avatar for winbatch

Is there a standard algorithm that can take the output of difftime (which is in seconds) and use it to print out the number of minutes, hours, days, weeks, etc.? I was going to try and calculate this myself by using the modulo, etc. but thought that something might pre-exist..

Member Avatar for Reverend Jim
1
9K
Member Avatar for alfroadgoerge

please help me.... guys..... i want to know how to make a calculator in turbo c. thanks....

Member Avatar for Reverend Jim
-1
746
Member Avatar for Stat_1

@model Stattips.Models.MatchesList <br /> <div class="col-sm-8 container-fluid"> <table class="table table-striped "> <tr rowspan="3"><ul class="breadcrumb"> <li><a href="#">Soccer</a></li> <li><a href="#">Albania</a></li> <li class="active">Kategoria Superiore</li> </ul></tr> <tr> <th>Matches</th> <th>Country</th> <th>Odds</th> </tr> @using (Html.BeginForm("AddMatches", "Matches")) { for (int i = 0; i < Model.Matches.Count(); i++) { <tr> <td> @Html.CheckBoxFor(m => Model.Matches[i].IsCheck) @Model.Matches[i].HomeTeam-@Model.Matches[i].AwayTeam @Html.HiddenFor(m => Model.Matches[i].HomeTeam) …

Member Avatar for rproffitt
0
339
Member Avatar for Stat_1
Member Avatar for rubberman
0
185
Member Avatar for riahc3

Im doing some work with C# and AD and Im missing something right now that I cant seem to see. I want to get a description of a security group in Active Directory and use that in a tooltip. I have all the security groups but Im not sure how …

Member Avatar for rproffitt
0
289
Member Avatar for Prasad_4

Consider the following C code snippet: char *sentence = NULL; strcpy(sentence, "Helloworld"); printf("%s", sentence); is the code segment correct or error. If correct what is the output? 1. Error 1. Helloworld 1. NuII,Helloworld 1. None of the above

Member Avatar for Reverend Jim
-2
1K
Member Avatar for JohnMcPherson

Hello, am working on a program for the U.S. Department of Labor. I am working on two programs for the state of Oregon, and the program that reads data and displays on a screen is working correctly. The code reads tax rates for a specific tax schedule and puts htam …

Member Avatar for abbott@lantic
0
341
Member Avatar for jigglymig

Is there a way to change the font size per line. say something like an array of strings for(i=0;i<10;i++) { if(i > 5) myRichBox.AppendText("<size=30>" + mystring[i] + "</size>"); else myRichBox.AppendText("<size=20>" + mystring[i] +"</size>"); }

Member Avatar for Reverend Jim
0
241
Member Avatar for kim_boto

I want to display only the current year in a textbox. How can i achieve that. Please help me. For Example i want to display 2017 in text i.e Current year.

Member Avatar for rproffitt
0
179
Member Avatar for jigglymig

Is there a way to resize controls, such as a button, instantaniously with the window being resized? Currently, I am using a button click method to resize using this code: UpdateLayout(); addButton.Height = this.Height / 30;

Member Avatar for rproffitt
0
304
Member Avatar for gugushe

i got the following error when compiling a word count program, **error: expected unqualified-id before '.' token*.*; this error is at line 5 //class Split_file.hpp. #ifndef SPLIT_FILE_HPP_H #define SPLIT_FILE_HPP_H class Split_file.hpp { Split_file.hpp(); virtual ~Split_file.hpp(); protected: private: }; #endif // SPLIT_FILE_HPP_H

Member Avatar for tinstaafl
0
1K
Member Avatar for Adm666

im intending to do a function that'll calculate the cosine of x like this: 1-x^2/2! + x^4/4! - x^6/6! ... and compiler says that it doesn't support "%lf" format and "undefined" to pow and cos ? why #include <stdio.h> #include <math.h> double my_cos(double c){ int i,k; double result=1.0; for(i=1; i<10; …

Member Avatar for Reverend Jim
0
464
Member Avatar for catastrophe2

the following short program asks user to enter # of hospital rooms (between 1-5), and asks for number of flowers, which cannot be a negative number. Then, it picks based on how many rooms the price from the `hospitalRoomsPrices_Array[5]`, and it also displays the total flowers multiplied by $2.50 each. …

Member Avatar for Reverend Jim
0
305
Member Avatar for EF_1

Greetings all, Essentially I am trying to recreate a formula for a column that calculates a cumulative difference between, between differences in data on data from adjacent column on a daily basis. In excel the formula is =ROUND(IF(B4<NOW(),T4,0),2). Does anyone know how to edit the method for the computed field …

Member Avatar for tinstaafl
0
170
Member Avatar for kumarmpk4u

Hello, i am trying to write a C program to copy a file from one directory and copy that to another directory. I am new to file handling and dont know how to proceed further. could you please guide me how to implement the property in the c code to …

Member Avatar for megha_1
0
2K
Member Avatar for Justin Kent

hi i just wanna ask because the submission of my restaurant POS System will be tomorrow. it is a very hard time for me. here are the requirements: Restaurant POS (Point of Sale) System Create a basic Restaurant Point of Sale software using C-Language. Your restaurant must have at least …

Member Avatar for rubberman
0
8K
Member Avatar for Adm666

im intending to make a brackets checking code that will check some code and look if there's any brackets mistakes in it, i started like this : #include<stdio.h> int i=0; int isPaired(char c) /*checks if bracket matches*/ { if (c == '}' && s[--i] == '{') return 1; if (c …

Member Avatar for AssertNull
0
356
Member Avatar for Usman_11

#include<stdio.h> #include<conio.h> #include<Windows.h> #include <time.h> #define A 3// name a constant struct book { char name[20]; int ID_card; int contact_number; int dd; int mm; int yy; long int booking_ID ; } customer_records[A]; void main() { void Display_reservation(); void reservation(); void cancelation();//prototype int ch= 0; do { system ("cls"); printf("\n \n …

Member Avatar for Nisar_3
0
367
Member Avatar for Graphix

Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for C! It uses a words file, on the bottom of this post you will see a small example of a few words. You can …

Member Avatar for Anish_4
0
4K
Member Avatar for Charlton21

In the following code, I need to optimize it for the fastest performance. I'm not asking anyone to do it for me, I'm asking if someone can look through the code, and let me know where I can get the best speed up by example loop unrolling a for loop …

Member Avatar for lernik
0
732
Member Avatar for nadiam

Hello. I have this tutorial and I'm at a lost. The program is suppose to calculate the call charges according to the rates. conditions: a) all calls start at 600pm and before 700am will be given 50% discount from the normal rate b) any calls that starts at 700am and …

Member Avatar for JamesCherrill
0
667

The End.