15,554 Topics

Member Avatar for
Member Avatar for Alex_65

Hello All; I am trying to make a copy of a file in another file using C. But the content of the file should be repeted the quantity of times of the lines of a third file { int num = 0; int x; char cont; FILE *file; file = …

Member Avatar for Joris Claassen
0
325
Member Avatar for Adm666

First, I do know that it is not recommended to include .c in another .c but to do it with .h instead, everyone told me that but my instructor demands it, but whenever i try it it just won't compile. i appretiate any help... im working on ubunto 12.04 platform …

Member Avatar for kristiangd
0
502
Member Avatar for Stat_1

Server Error in '/' Application. Cannot open database "FDB" requested by the login. The login failed. Login failed for user 'fdb'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in …

Member Avatar for thines01
0
334
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
179
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
489
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
420
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
93
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
918
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
747
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
342
Member Avatar for Stat_1
Member Avatar for rubberman
0
187
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
290
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
344
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
309
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
306
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

The End.