38 Topics

Member Avatar for
Member Avatar for caut_baia

Hi guys.Can you write a program that reads data through a com1 serial port that communicates with a plc using c++ and inline asm instead of the ladder logic interface? I work at a cinema as a projectionist and the whole booth is automated with a bunch of these monsters …

Member Avatar for Ancient Dragon
0
121
Member Avatar for ans025

[B]Here is the actual homework problem. I am stuck on parts 1 and 2 and I really don't know how to make this right. Any help is greatly appreciated.[/B] 1. Write a C++ program that reads following data from an input file called “in.txt”, And stores them to an array …

Member Avatar for ans025
0
201
Member Avatar for emilo35

Okay, this might become a monstous post, and I apologize for that. I recently switched from programming Java to C++ like a week ago, and can't seem to get all the pointers right it seems. Maybe all code provided in this post might seem a little overkill for the size …

Member Avatar for emilo35
0
156
Member Avatar for FreakNFlow

I need help with a program. I need to know how to make it so the lines with a -1 will not show up. The code is linked to a file. The file looks like this: 4 112.7 154 115.5 4 116.4 321 -1 72 129.8 321 -1 154 219.0 …

Member Avatar for Salem
0
262
Member Avatar for said.amsur

Hi I'm new to computer programming. 'Im just needing to learn some basic c++ for a larger project. So if someone wouldn't mind guiding me through some basics on i/o streams. I need to able to open a .txt file saved on my c drive and be able to count …

Member Avatar for said.amsur
0
224
Member Avatar for june_me

for novices: what is' freopen()' function in C language and how it works?...thanks

Member Avatar for Nick Evan
0
95
Member Avatar for DARK_BYTE

I'm writing a program that needs to use only the Unix system calls open, read and write to get and print data!The problem is that the program doesn't allow me to input the marital status of the first student! Am I missing something? Here is the code: [code] #include<stdio.h> #include …

Member Avatar for DARK_BYTE
0
228
Member Avatar for jtabak2

I am new-ish to python and need to write a short program which will take a file with many lines of sets of coordinates alongside a defined variable of a series of letters and out a 3 columned file with columns x, y, and letter. the input file has each …

Member Avatar for jice
0
154

The End.