Skip to content

Tutorial Guruji

Online Free Tutorials Guruji Guide & Materials – Solved Questions Answers

  • Home
  • Tutorials
    • Java
    • DBMS
    • Linux
    • for loop
    • Bitcoin Transaction Fees
    • Mathematics Real Analysis
    • Shell Script
    • Bitcoin Core
    • Bitcoin Security
    • Grammar
  • About Us
  • Contact Us
Home ยป io

Tag: io

C++ not rounding as it should when using both cout and printf

C++ March 14, 2021

I need to make a program that calculates cos(x) and my problem is that when I use printf for example cos(0.2) is 0.98 but it comes out as 0.984 and it’s not rounding to 2 numbers. My code: #include &…

File I/O vs TCP socket, which is faster for data trasnfer within same machine?

C++ December 25, 2020

I have about 10MBs of data to send from the server program to the client program, both of which run within the same hard drive. The server is written in C++ while the client is written in python. I …

How to read & write values from file in ascending order in Python?

Python July 21, 2019

There is a question somewhat related in Read Multiple Files in ascending order File Name which pertains to reading multiple files in Ascending order in Java. However, I am stuck in a situation where I …

How can exception message overtake an executed printed line

Java January 24, 2019

I read fields from a .csv file separated with “;” semicolons. And I wrote exeptions to handle the possible deviations. But if there is an exception, the NetBeans read out the error message before the …

Java Problems With Deserialization

Java August 9, 2015

I know that this question has been addressed before,but i simply cannot find the answer no matter how hard i try. I am trying to serialize and deserialize objects in Java. I am having problems in the …

ServerSocket while not breaks on image data inputstream

Java February 16, 2015

I tried to send an image from One device to other Device using Bluetooth.For that I take Android Bluetooth chat application source code and it works fine when I send String.But If i send image as byte …

NoSuchElementException after closing system.in

Java November 17, 2014

[ Interrupt a thread waiting for user input and then exit the app ] I wanted to do the same exercise as mentioned in the above link. But, I ran into NoSuchElementException when I tried to use …

How to read records terminated by custom separator from file in python?

Python October 25, 2013

I would like a way to do for line in file in python, where the end of line is redefined to be any string that I want. Another way of saying that is I want to read records from file rather than lines; …

using PrintWriter to write strings to log file

Java July 12, 2013

I have a java application that needs to write a lot of data into individual lines in a text file. I wrote the code below to do this, but for some reason, it is not writing anything to the text file. …

Quickly read the last line of a text file?

Java March 26, 2009

What’s the quickest and most efficient way of reading the last line of text from a [very, very large] file in Java?

Skip to footer

Recent Articles

  • Convert Rows as Column Headers
  • how to scrape data on a website with view more with beautifulsoup
  • create a column on a dataframe using several if conditions intervals on python
  • Sending a html code/variable from Flask to HTML
  • Not showing the total number of size in each bar in its graph in Python?

What You Want To Learn?

  • Android
  • AngularJS
  • Bitcoin Core
  • Bitcoin Exchanges
  • Bitcoin Security
  • Bitcoin Transaction Fees
  • Bitcoin Transactions
  • C#
  • C++
  • DBMS
  • for loop
  • Grammar
  • HTML
  • Java
  • JavaScript
  • jQuery
  • Linux
  • Mathematics Real Analysis
  • Node.js
  • PHP
  • Python
  • React JS
  • Shell Script
  • Travel
  • WordPress

Contact Details

Web: tutorialguruji.com
For Advertisement - Contact Us Today.
Tutorial Guruji