This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc simpleString.c -o simpleString | |
simpleString.c: In function ‘main’: | |
simpleString.c:7:3: warning: ‘gets’ is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] | |
gets(theArray); | |
^ | |
/tmp/ccqY3Yef.o: In function `main': | |
simpleString.c:(.text+0x1a): warning: the `gets' function is dangerous and should not be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main(){ | |
char theArray[80], searchChar; | |
int index=0, count=0; | |
printf("\n Enter the phrase.\n\n"); | |
gets(theArray); | |
printf("\n What character do you want to find: "); | |
scanf(" %c", &searchChar); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main(){ | |
char theArray[80], searchChar; //Step 1 | |
int wordSize=0; //Step 2 | |
int repitions=0; //Step 4 | |
int index=0; //Step 5 | |
int palindromeCounter; //Step 6 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//server/TBHS /run/media/Technician/Expansion/TBHS/Server cifs forceuid,forcegid,gid=spiriticus,uid=Technician,credentials=/run/media/Technician/Expansion/TBHS/Utility/sambacreds,workgroup=everyone,ip=192.168.1.110 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.pinball.ghostscanner; | |
import java.util.Locale; | |
import android.support.v7.app.ActionBarActivity; | |
import android.support.v7.app.ActionBar; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentTransaction; | |
import android.support.v4.app.FragmentPagerAdapter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final int REQUEST_ENABLE_BT = 1; | |
private Button onBtn; | |
private Button offBtn; | |
private Button listBtn; | |
private Button findBtn; | |
private TextView text; | |
private BluetoothAdapter myBluetoothAdapter; | |
private Set<BluetoothDevice> pairedDevices; | |
private ListView myListView; | |
private ArrayAdapter<String> BTArrayAdapter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.bluetooth.BluetoothAdapter; | |
import android.bluetooth.BluetoothDevice; | |
import android.content.BroadcastReceiver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error:Execution failed for task ':Ghost Scanner:compileDebugJava'. | |
> Compilation failed; see the compiler error output for details. | |
/run/media/Technician/Expansion/Programming/Android_01/GhostScanner/Ghost Scanner/src/main/java/heck/pinball/ghostscanner/BluetoothFragment.java | |
Error:(68, 20) error: onCreate(Bundle) in BluetoothFragment cannot override onCreate(Bundle) in Fragment | |
attempting to assign weaker access privileges; was public | |
Error:(70, 9) error: cannot find symbol method setContentView(int) | |
Error:(71, 22) error: cannot find symbol method findViewById(int) | |
Error:(72, 23) error: cannot find symbol method findViewById(int) | |
Error:(73, 27) error: cannot find symbol method findViewById(int) | |
Error:(74, 24) error: cannot find symbol method findViewById(int) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package heck.pinball.ghostscanner; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
/* | |
import android.os.Bundle; | |
import android.app.Activity; |
OlderNewer