15,554 Topics
![]() | |
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 = … | |
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 … | |
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 … | |
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 … | |
Hello, any body. How to check the handler socket is dissconcted? if try this if (handler.Dissconcted) but not accepted from c#. | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
hi all , i search for motion detector documents and code source with systemC programming language, any help pls | |
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.. | |
please help me.... guys..... i want to know how to make a calculator in turbo c. thanks.... | |
@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) … | |
Problem with my website [object Object]Internal Server Error Please Help me! | |
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 … | |
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 | |
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 … | |
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>"); } | |
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. | |
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; | |
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 | |
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; … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
#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 … |
The End.